mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Remove unused client method
The app is now always getting an organisation by its `id` (or domain), and never by `service_id`. This means that the client method and associated mocking can be removed. I think this must come from a time when the service response didn’t include `organisation_id`, but now it always does.
This commit is contained in:
@@ -62,9 +62,6 @@ class OrganisationsClient(NotifyAdminAPIClient):
|
||||
def update_organisation_name(self, org_id, name):
|
||||
return self.update_organisation(org_id, name=name)
|
||||
|
||||
def get_service_organisation(self, service_id):
|
||||
return self.get(url="/service/{}/organisation".format(service_id))
|
||||
|
||||
@cache.delete('service-{service_id}')
|
||||
@cache.delete('live-service-and-organisation-counts')
|
||||
def update_service_organisation(self, service_id, org_id):
|
||||
|
||||
Reference in New Issue
Block a user