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