1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

move finalizeCreate to scope of shareKey

This commit is contained in:
Kyle Spearrin
2017-04-07 15:09:09 -04:00
parent 2b880d322a
commit bb1ba1dbc4

View File

@@ -83,7 +83,6 @@
return apiService.organizations.post(paidRequest).$promise;
}).then(finalizeCreate);
}
};
function finalizeCreate(result) {
$scope.model.card = null;
@@ -94,4 +93,5 @@
toastr.success('Your new organization is ready to go!', 'Organization Created');
});
}
};
});