mirror of
https://github.com/bitwarden/web
synced 2025-12-16 16:23:31 +00:00
move finalizeCreate to scope of shareKey
This commit is contained in:
@@ -83,7 +83,6 @@
|
|||||||
return apiService.organizations.post(paidRequest).$promise;
|
return apiService.organizations.post(paidRequest).$promise;
|
||||||
}).then(finalizeCreate);
|
}).then(finalizeCreate);
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
|
||||||
function finalizeCreate(result) {
|
function finalizeCreate(result) {
|
||||||
$scope.model.card = null;
|
$scope.model.card = null;
|
||||||
@@ -94,4 +93,5 @@
|
|||||||
toastr.success('Your new organization is ready to go!', 'Organization Created');
|
toastr.success('Your new organization is ready to go!', 'Organization Created');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user