Merge pull request #1057 from ONLYOFFICE/bugfix/fix-unarchive-action
Web:Common:Api: fix request body for unarchive
This commit is contained in:
commit
0230776f18
@ -159,8 +159,8 @@ export function archiveRoom(id, deleteAfter = false) {
|
||||
});
|
||||
}
|
||||
|
||||
export function unarchiveRoom(id, deleteAfter = true) {
|
||||
const data = { deleteAfter };
|
||||
export function unarchiveRoom(id) {
|
||||
const data = { deleteAfter: false };
|
||||
const options = {
|
||||
method: "put",
|
||||
url: `/files/rooms/${id}/unarchive`,
|
||||
|
Loading…
Reference in New Issue
Block a user