mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
clean up
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import os
|
||||
from app.notify_client import NotifyAdminAPIClient, cache
|
||||
from flask import current_app
|
||||
|
||||
class StatusApiClient(NotifyAdminAPIClient):
|
||||
|
||||
@@ -11,8 +10,5 @@ class StatusApiClient(NotifyAdminAPIClient):
|
||||
def get_count_of_live_services_and_organisations(self):
|
||||
return self.get(url='/_status/live-service-and-organisation-counts')
|
||||
|
||||
def get_services(self):
|
||||
return self.get(url='/service')
|
||||
|
||||
|
||||
status_api_client = StatusApiClient()
|
||||
|
||||
Reference in New Issue
Block a user