Skip to content
Snippets Groups Projects
Commit 00659220 authored by syuilo's avatar syuilo
Browse files

Update update.ts

parent 51546ad1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment