Skip to content

Commit ae4dd36

Browse files
Update signals.py
rename firstblood notification handler
1 parent 92d4295 commit ae4dd36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gameserver/signals.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def construct_discord_payload(submission: ContestSubmission) -> dict:
2626

2727

2828
@receiver(post_save, sender=ContestSubmission, dispatch_uid="notify_contest_firstblood")
29-
async def my_handler(sender, instance, created, raw, using, update_fields, **kwargs):
29+
async def firstblood_notification_handler(sender, instance, created, raw, using, update_fields, **kwargs):
3030
if not created: # only for new submissions
3131
return
3232
if not await instance.ais_firstblooded:

0 commit comments

Comments
 (0)