summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src/actions/restoreAction.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/src/actions/restoreAction.ts')
-rw-r--r--apps/files_trashbin/src/actions/restoreAction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts
index ab9ac784d7f..e03573a75a6 100644
--- a/apps/files_trashbin/src/actions/restoreAction.ts
+++ b/apps/files_trashbin/src/actions/restoreAction.ts
@@ -54,7 +54,7 @@ registerFileAction(new FileAction({
const destination = generateRemoteUrl(encodePath(`dav/trashbin/${getCurrentUser()?.uid}/restore/${node.basename}`))
await axios({
method: 'MOVE',
- url: node.source,
+ url: node.encodedSource,
headers: {
destination,
},