Skip to content

Commit

Permalink
Update update.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Sep 24, 2023
1 parent 51546ad commit 0065922
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 0065922

Please sign in to comment.