mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Initialise clients outside the app
This avoids the annoying problem where you can’t import a client unless the app has already been initialised.
This commit is contained in:
@@ -52,3 +52,6 @@ class OrganisationsClient(NotifyAdminAPIClient):
|
||||
url="/organisations/unique",
|
||||
params={"org_id": org_id, "name": name}
|
||||
)["result"]
|
||||
|
||||
|
||||
organisations_client = OrganisationsClient()
|
||||
|
||||
Reference in New Issue
Block a user