mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-24 20:36:23 +08:00
Add getSharedVaultItems
This commit is contained in:
parent
ca24caeb07
commit
a99e6914b3
1 changed files with 8 additions and 0 deletions
|
|
@ -67,6 +67,14 @@ angular.module('passmanApp')
|
|||
return response.data;
|
||||
})
|
||||
},
|
||||
getSharedVaultItems: function (vault_guid) {
|
||||
var queryUrl = OC.generateUrl('/api/v2/sharing/vault/'+ vault_guid +'/get');
|
||||
return $http.get(queryUrl).then(function (response) {
|
||||
if(response.data){
|
||||
return response.data;
|
||||
}
|
||||
});
|
||||
},
|
||||
encryptSharedCredential: function(credential, sharedKey){
|
||||
var _credential = angular.copy(credential);
|
||||
var encrypted_fields = CredentialService.getEncryptedFields();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue