1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-28 06:48:36 +09:00

Update update.ts

This commit is contained in:
syuilo 2023-09-24 15:51:04 +09:00
parent 51546ad1ce
commit 00659220a5

View File

@ -89,7 +89,12 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // 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;
});