mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
return error when rejecting
This commit is contained in:
parent
641c76ae62
commit
e44cf6e7ee
@ -158,8 +158,8 @@ angular
|
|||||||
cryptoService.setOrgKeys(orgs);
|
cryptoService.setOrgKeys(orgs);
|
||||||
_setDeferred.resolve(_userProfile);
|
_setDeferred.resolve(_userProfile);
|
||||||
}
|
}
|
||||||
}, function () {
|
}, function (error) {
|
||||||
_setDeferred.reject();
|
_setDeferred.reject(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
return _setDeferred.promise;
|
return _setDeferred.promise;
|
||||||
|
Loading…
Reference in New Issue
Block a user