mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
blunt rename of org (#620)
This commit is contained in:
@@ -6,13 +6,13 @@ class StatusApiClient(NotifyAdminAPIClient):
|
||||
def get_status(self, *params):
|
||||
return self.get(url='/_status', *params)
|
||||
|
||||
@cache.set('live-service-and-organisation-counts', ttl_in_seconds=3600)
|
||||
def get_count_of_live_services_and_organisations(self):
|
||||
return self.get(url='/_status/live-service-and-organisation-counts')
|
||||
@cache.set('live-service-and-organization-counts', ttl_in_seconds=3600)
|
||||
def get_count_of_live_services_and_organizations(self):
|
||||
return self.get(url='/_status/live-service-and-organization-counts')
|
||||
|
||||
@cache.set('live-service-and-organisation-counts', ttl_in_seconds=3600)
|
||||
def get_count_of_live_services_and_organisations_cached(self):
|
||||
return self.get(url='/_status/live-service-and-organisation-counts')
|
||||
@cache.set('live-service-and-organization-counts', ttl_in_seconds=3600)
|
||||
def get_count_of_live_services_and_organizations_cached(self):
|
||||
return self.get(url='/_status/live-service-and-organization-counts')
|
||||
|
||||
|
||||
status_api_client = StatusApiClient()
|
||||
|
||||
Reference in New Issue
Block a user