uncomment create function
This commit is contained in:
parent
c10bcf0cdb
commit
e1ce85745b
1 changed files with 3 additions and 3 deletions
|
|
@ -9,13 +9,13 @@ angular.module('copayApp.controllers').controller('disclaimerController',
|
||||||
go.walletHome();
|
go.walletHome();
|
||||||
};
|
};
|
||||||
|
|
||||||
var create = function () {
|
var create = function() {
|
||||||
$scope.creatingProfile = true;
|
$scope.creatingProfile = true;
|
||||||
profileService.create({}, function(err) {
|
profileService.create({}, function(err) {
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
||||||
if (err == 'EEXISTS')
|
if (err == 'EEXISTS')
|
||||||
return go.walletHome();
|
return go.walletHome();
|
||||||
|
|
||||||
$log.warn(err);
|
$log.warn(err);
|
||||||
|
|
@ -32,6 +32,6 @@ angular.module('copayApp.controllers').controller('disclaimerController',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// create();
|
create();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue