mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
move finalizeCreate to scope of shareKey
This commit is contained in:
parent
2b880d322a
commit
bb1ba1dbc4
@ -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');
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user