1
0
mirror of https://github.com/bitwarden/web synced 2025-12-15 07:43:16 +00:00

move logins to ciphers apis

This commit is contained in:
Kyle Spearrin
2017-09-20 16:45:13 -04:00
parent 06a877c755
commit f7fbdf2081
12 changed files with 24 additions and 31 deletions

View File

@@ -17,7 +17,7 @@
$scope.savePromise = null;
$scope.save = function (model) {
var login = cipherService.encryptLogin(model);
$scope.savePromise = apiService.logins.post(login, function (loginResponse) {
$scope.savePromise = apiService.ciphers.post(login, function (loginResponse) {
$analytics.eventTrack('Created Login');
var decLogin = cipherService.decryptLogin(loginResponse);
$uibModalInstance.close(decLogin);