feat: include contract category in results for createFolderStructure and moveLooseFilesToContract functions

This commit is contained in:
seaznCode 2026-01-20 20:49:24 +01:00
parent 295bb85536
commit caa55f7827

View File

@ -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