aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/sftp_key.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/js/sftp_key.js')
-rw-r--r--apps/files_external/js/sftp_key.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/sftp_key.js b/apps/files_external/js/sftp_key.js
index 2b39628247c..55b11b1fac9 100644
--- a/apps/files_external/js/sftp_key.js
+++ b/apps/files_external/js/sftp_key.js
@@ -42,7 +42,7 @@ $(document).ready(function() {
if (result && result.status === 'success') {
$(config).find('[data-parameter="public_key"]').val(result.data.public_key);
$(config).find('[data-parameter="private_key"]').val(result.data.private_key);
- OC.MountConfig.saveStorage(tr, function() {
+ OCA.External.mountConfig.saveStorageConfig(tr, function() {
// Nothing to do
});
} else {