mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 00:02:36 -05:00
Fixing static scan
This commit is contained in:
@@ -64,6 +64,7 @@ def get_notification_by_id(notification_id):
|
|||||||
try:
|
try:
|
||||||
notification.subject = template.subject
|
notification.subject = template.subject
|
||||||
except Exception:
|
except Exception:
|
||||||
|
# Subject attribute may not exist on notification model
|
||||||
pass
|
pass
|
||||||
|
|
||||||
schema = PublicNotificationResponseSchema()
|
schema = PublicNotificationResponseSchema()
|
||||||
|
|||||||
Reference in New Issue
Block a user