mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
Fix ServiceWhiteList __repr__
Apparently this code was unreachable.
This commit is contained in:
@@ -178,9 +178,8 @@ class ServiceWhitelist(db.Model):
|
|||||||
else:
|
else:
|
||||||
return instance
|
return instance
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return 'Recipient {} of type: {}'.format(self.recipient,
|
return 'Recipient {} of type: {}'.format(self.recipient, self.recipient_type)
|
||||||
self.recipient_type)
|
|
||||||
|
|
||||||
|
|
||||||
class ApiKey(db.Model, Versioned):
|
class ApiKey(db.Model, Versioned):
|
||||||
|
|||||||
Reference in New Issue
Block a user