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('license', files[0]);
fd.append('key', shareKeyCt); fd.append('key', shareKeyCt);
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(function (result) { $scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(finalizeCreate);
return finalizeCreate();
});
} }
else { else {
var shareKeyCt = cryptoService.makeShareKeyCt(); var shareKeyCt = cryptoService.makeShareKeyCt();