From 591e7e83f36773cf202dd44659b32f21c4ee065c Mon Sep 17 00:00:00 2001 From: Topvennie Date: Thu, 23 May 2024 18:27:11 +0200 Subject: [PATCH] chore: notification creation --- backend/api/signals.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/api/signals.py b/backend/api/signals.py index ba034ca4..a1790662 100644 --- a/backend/api/signals.py +++ b/backend/api/signals.py @@ -120,12 +120,12 @@ def hook_submission(sender, instance: Submission, created: bool, **kwargs): run_all_checks.send(sender=Submission, submission=instance) pass - notification_create.send( - sender=Submission, - type=NotificationType.SUBMISSION_RECEIVED, - queryset=list(instance.group.students.all()), - arguments={} - ) + notification_create.send( + sender=Submission, + type=NotificationType.SUBMISSION_RECEIVED, + queryset=list(instance.group.students.all()), + arguments={} + ) @receiver(post_save, sender=DockerImage)