aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/app.js
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-07-27 13:30:44 +0200
committerVincent Petry <vincent@nextcloud.com>2021-07-27 13:30:44 +0200
commit11258326230b54aaab5a4c6b259ba0b5e6155e95 (patch)
tree82d5c19430ce6ae5f1632fe38822132f5350a8e8 /apps/files_sharing/js/app.js
parentdac676c14ef7a3bd866a674c2ced666435d977c6 (diff)
downloadnextcloud-server-11258326230b54aaab5a4c6b259ba0b5e6155e95.tar.gz
nextcloud-server-11258326230b54aaab5a4c6b259ba0b5e6155e95.zip
Fix route path for pending remote shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/js/app.js')
-rw-r--r--apps/files_sharing/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js
index d16bf264cbd..ef08315c488 100644
--- a/apps/files_sharing/js/app.js
+++ b/apps/files_sharing/js/app.js
@@ -302,7 +302,7 @@ OCA.Sharing.App = {
if (context.$file.attr('data-remote-id')) {
shareBase = 'remote_shares/pending'
}
- $.post(OC.linkToOCS('apps/files_sharing/api/v1/' + shareBase + '/{shareId}', { shareBase, shareId }))
+ $.post(OC.linkToOCS('apps/files_sharing/api/v1/' + shareBase + '/{shareId}', { shareId }))
.success(function(result) {
context.fileList.remove(context.fileInfoModel.attributes.name)
}).fail(function() {