aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/src/external.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/src/external.js')
-rw-r--r--apps/federatedfilesharing/src/external.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/src/external.js b/apps/federatedfilesharing/src/external.js
index 68cc958b7b5..3581a24e95a 100644
--- a/apps/federatedfilesharing/src/external.js
+++ b/apps/federatedfilesharing/src/external.js
@@ -35,7 +35,8 @@ window.OCA.Sharing.showAddExternalDialog = function(share, passwordProtected, ca
.replace(/\/$/, '') // remove trailing slash
showRemoteShareDialog(name, owner, remote, passwordProtected)
- .then((result, password) => callback(result, { ...share, password }))
+ // eslint-disable-next-line n/no-callback-literal
+ .then((password) => callback(true, { ...share, password }))
// eslint-disable-next-line n/no-callback-literal
.catch(() => callback(false, share))
}