mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
refer to file rather than document
Karl Approved™
This commit is contained in:
@@ -250,7 +250,7 @@ def create_notification(
|
||||
updated_at = updated_at or datetime.utcnow()
|
||||
|
||||
if not one_off and (job is None and api_key is None):
|
||||
# we didn't specify in test - lets create it
|
||||
# we did not specify in test - lets create it
|
||||
api_key = ApiKey.query.filter(ApiKey.service == template.service, ApiKey.key_type == key_type).first()
|
||||
if not api_key:
|
||||
api_key = create_api_key(template.service, key_type=key_type)
|
||||
|
||||
Reference in New Issue
Block a user