fix: remove invalid updateMany option in moveMultipleFiles
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled

{ new: true } only applies to findOneAndUpdate, not updateMany - it was
always a silent no-op here. Harmless until a stricter mongoose/mongodb
type resolution (no lockfile is committed, so installs float) rejected
it outright, breaking `npm run build` inside the Docker image.
This commit is contained in:
2026-07-05 05:25:55 -07:00
parent 22af2caec7
commit 19e38dade4
+1 -2
View File
@@ -357,8 +357,7 @@ class DbUtil implements IFileDB {
"metadata.parent": newParent,
"metadata.parentList": newParentList,
},
},
{ new: true }
}
);
};