mirror of
https://github.com/nextcloud/passman.git
synced 2025-01-23 16:07:25 +08:00
Fix empty return value on the promise response
This commit is contained in:
parent
e0ce28b720
commit
e414c0256e
1 changed files with 1 additions and 2 deletions
|
@ -239,7 +239,6 @@ angular.module('passmanApp')
|
|||
//Decrypt!
|
||||
_revision.credential_data = service.decryptCredential(_revision.credential_data, this.parent.old_password);
|
||||
_revision.credential_data = service.encryptCredential(_revision.credential_data, this.parent.new_password);
|
||||
console.log('Used key for encrypting history ', this.new_password);
|
||||
this.current ++;
|
||||
|
||||
this.call_progress(new progress_datatype(this.current + this.upload, this.total));
|
||||
|
@ -281,7 +280,7 @@ angular.module('passmanApp')
|
|||
master_promise.plain_credential = data.plain_text;
|
||||
master_promise.promises ++;
|
||||
|
||||
this.credential_data = data;
|
||||
master_promise.credential_data = data;
|
||||
|
||||
(new C_Promise(promise_files_update, new password_data())).progress(function(data){
|
||||
master_promise.call_progress(data);
|
||||
|
|
Loading…
Reference in a new issue