1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

rename loginService to cipherService

This commit is contained in:
Kyle Spearrin
2017-10-16 23:11:32 -04:00
parent e7f7c52247
commit 6722793087
17 changed files with 108 additions and 108 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.vault')
.controller('vaultViewCipherController', function ($scope, $state, $stateParams, loginService, toastr,
.controller('vaultViewCipherController', function ($scope, $state, $stateParams, cipherService, toastr,
$analytics, i18nService, utilsService, totpService, $timeout, tokenService, $window, cryptoService, SweetAlert,
constantsService) {
$scope.constants = constantsService;
@@ -13,7 +13,7 @@ angular
$scope.isPremium = tokenService.getPremium();
$scope.cipher = null;
var cipherObj = null;
loginService.get($stateParams.cipherId).then(function (cipher) {
cipherService.get($stateParams.cipherId).then(function (cipher) {
if (!cipher) {
return;
}