mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-18 15:55:58 -04:00
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.
This commit is contained in:
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user