Web: Common: Api: Fixed copyAs api call params

This commit is contained in:
Ilya Oleshko 2021-11-30 08:20:55 +03:00
parent 26b00f9ee2
commit 5bb3602964

View File

@ -798,13 +798,13 @@ export function checkFillFormDraft(fileId) {
});
}
export function fileCopyAs(fileId, title, folderId, enableExternalExt) {
export function fileCopyAs(fileId, destTitle, destFolderId, enableExternalExt) {
return request({
method: "post",
url: `file/${fileId}/copyas`,
url: `files/file/${fileId}/copyas`,
data: {
title,
folderId,
destTitle,
destFolderId,
enableExternalExt,
},
});