From c73f0bb414dcd513962b6d277c2e3be6053a1a05 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 11 Apr 2022 14:53:03 +0100 Subject: [PATCH] Remove unused method I can't see it being used anywhere and deleting it doesn't break any tests. Note, this is currenty the only place using `get_default_letter_contact` so that could be deleted too but we are going to keep it and repurpose it in the next commit. --- app/schemas.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/schemas.py b/app/schemas.py index 47bfe2087..f2074dd58 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -246,9 +246,6 @@ class ServiceSchema(BaseSchema, UUIDsAsStringsMixin): def service_permissions(self, service): return [p.permission for p in service.permissions] - def get_letter_contact(self, service): - return service.get_default_letter_contact() - class Meta(BaseSchema.Meta): model = models.Service exclude = (