feat: include contract category in results for createFolderStructure and moveLooseFilesToContract functions
This commit is contained in:
parent
295bb85536
commit
caa55f7827
@ -176,6 +176,7 @@ async function createFolderStructure({ userId } = {}) {
|
|||||||
createdTotal += created;
|
createdTotal += created;
|
||||||
results.push({
|
results.push({
|
||||||
userId: target.userId,
|
userId: target.userId,
|
||||||
|
contractCategory: target.contractCategory,
|
||||||
created,
|
created,
|
||||||
errors
|
errors
|
||||||
});
|
});
|
||||||
@ -289,6 +290,7 @@ async function moveLooseFilesToContract({ userId } = {}) {
|
|||||||
movedTotal += moved;
|
movedTotal += moved;
|
||||||
results.push({
|
results.push({
|
||||||
userId: target.userId,
|
userId: target.userId,
|
||||||
|
contractCategory: target.contractCategory,
|
||||||
moved,
|
moved,
|
||||||
skipped,
|
skipped,
|
||||||
errors
|
errors
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user