Skip to content

Commit

Permalink
Web: Common: Added password field to api method.
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaLopaeva committed Dec 22, 2021
1 parent 47681bb commit b047ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/asc-web-common/api/files/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ export function getNewFiles(folderId) {
});
}

export function convertFile(fileId, sync = false) {
const data = { sync };
export function convertFile(fileId, password = null, sync = false) {
const data = { password, sync };

return request({
method: "put",
Expand Down

0 comments on commit b047ae3

Please sign in to comment.