refactor identityService
This commit is contained in:
parent
ebe415a3d6
commit
ad87c4fc56
3 changed files with 26 additions and 20 deletions
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
controllerUtils.redirIfLogged();
|
||||
$scope.retreiving = true;
|
||||
|
||||
identityService.checkIdentity($scope);
|
||||
identityService.check($scope);
|
||||
|
||||
$scope.createProfile = function(form) {
|
||||
if (form && form.$invalid) {
|
||||
|
|
@ -12,7 +12,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
return;
|
||||
}
|
||||
$scope.loading = true;
|
||||
identityService.createIdentity($scope, form);
|
||||
identityService.create($scope, form);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue