refactor: post-form-attaches to composition api #60
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function detachMedia(id: string): void {
|
|||
function toggleSensitive(file: DriveFile): void {
|
||||
os.api('drive/files/update', {
|
||||
fileId: file.id,
|
||||
isSensitive: !file.isSensitive,,
|
||||
isSensitive: !file.isSensitive,
|
||||
}).then(() => {
|
||||
emit('changeSensitive', file, !file.isSensitive);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue