Remove methods for checking service/org name uniqueness

We don’t use these now – instead we try to update the name and see if
it works or not.
This commit is contained in:
Chris Hill-Scott
2022-01-11 16:05:19 +00:00
parent a09af2acc8
commit b998b6bb20
4 changed files with 0 additions and 35 deletions

View File

@@ -81,12 +81,6 @@ class OrganisationsClient(NotifyAdminAPIClient):
data = _attach_current_user({})
return self.delete(endpoint, data)
def is_organisation_name_unique(self, org_id, name):
return self.get(
url="/organisations/unique",
params={"org_id": org_id, "name": name}
)["result"]
def get_services_and_usage(self, org_id, year):
return self.get(
url=f"/organisations/{org_id}/services-with-usage",