Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2016-10-04 15:25:28 +0300
committerbrantje <brantje@gmail.com>2016-10-04 15:25:28 +0300
commitbafb4a7f73d543a4330e7349a037af377469c0ec (patch)
tree274baefb99d3807567156df1dd6ccb4bf8d99712
parent5c9aac94955a3b1559146427baaa923118494d4d (diff)
Update route for incoming api change
-rw-r--r--js/app/services/shareservice.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app/services/shareservice.js b/js/app/services/shareservice.js
index 1acebc3a..42c4fc68 100644
--- a/js/app/services/shareservice.js
+++ b/js/app/services/shareservice.js
@@ -68,7 +68,7 @@ angular.module('passmanApp')
})
},
unshareCredential: function (credential) {
- var queryUrl = OC.generateUrl('apps/passman/api/v2/sharing/unshare/' + credential.guid);
+ var queryUrl = OC.generateUrl('apps/passman/api/v2/sharing/' + credential.guid);
return $http.delete(queryUrl).then(function (response) {
return response.data;
})