mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -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:
@@ -41,3 +41,6 @@ class BillingAPIClient(NotifyAdminAPIClient):
|
||||
url='/service/{0}/billing/free-sms-fragment-limit'.format(service_id),
|
||||
data=data
|
||||
)
|
||||
|
||||
|
||||
billing_api_client = BillingAPIClient()
|
||||
|
||||
Reference in New Issue
Block a user