finalize create properly

This commit is contained in:
Kyle Spearrin 2017-08-17 00:57:25 -04:00
parent 8c7f1c4359
commit f93c5cb9a1
1 changed files with 1 additions and 3 deletions

View File

@ -70,9 +70,7 @@
fd.append('license', files[0]);
fd.append('key', shareKeyCt);
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(function (result) {
return finalizeCreate();
});
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(finalizeCreate);
}
else {
var shareKeyCt = cryptoService.makeShareKeyCt();