diff --git a/packages/backend/src/server/api/endpoints/drive/files/update.ts b/packages/backend/src/server/api/endpoints/drive/files/update.ts index 7db88e152..c9e2d7464 100644 --- a/packages/backend/src/server/api/endpoints/drive/files/update.ts +++ b/packages/backend/src/server/api/endpoints/drive/files/update.ts @@ -89,7 +89,12 @@ export default class extends Endpoint { // eslint- throw new ApiError(meta.errors.accessDenied); } - const fileObj = await this.driveService.update(file, ps, me); + const fileObj = await this.driveService.update(file, { + folderId: ps.folderId, + name: ps.name, + isSensitive: ps.isSensitive, + comment: ps.comment, + }, me); return fileObj; });