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;
|
||||
results.push({
|
||||
userId: target.userId,
|
||||
contractCategory: target.contractCategory,
|
||||
created,
|
||||
errors
|
||||
});
|
||||
@ -289,6 +290,7 @@ async function moveLooseFilesToContract({ userId } = {}) {
|
||||
movedTotal += moved;
|
||||
results.push({
|
||||
userId: target.userId,
|
||||
contractCategory: target.contractCategory,
|
||||
moved,
|
||||
skipped,
|
||||
errors
|
||||
|
||||
Loading…
Reference in New Issue
Block a user