persist created_by_id when using the one off notification endpoint

This commit is contained in:
Leo Hemsted
2017-06-16 16:30:03 +01:00
parent 729faf579d
commit a1e570dea7
5 changed files with 71 additions and 49 deletions

View File

@@ -49,7 +49,8 @@ def persist_notification(
reference=None,
client_reference=None,
notification_id=None,
simulated=False
simulated=False,
created_by_id=None
):
notification_created_at = created_at or datetime.utcnow()