mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Fetch endpoints for notifications
- includes check on token type to ensure clients can perform admin style fetches
This commit is contained in:
@@ -269,11 +269,11 @@ def sample_notification(notify_db,
|
||||
if job is None:
|
||||
job = sample_job(notify_db, notify_db_session, service=service, template=template)
|
||||
|
||||
notificaton_id = uuid.uuid4()
|
||||
notification_id = uuid.uuid4()
|
||||
to = '+44709123456'
|
||||
|
||||
data = {
|
||||
'id': notificaton_id,
|
||||
'id': notification_id,
|
||||
'to': to,
|
||||
'job': job,
|
||||
'service': service,
|
||||
|
||||
Reference in New Issue
Block a user