Always set game status change timestamp to now instead of game's last updated_at
All checks were successful
Django CI/CD / test (push) Successful in 1m16s
Django CI/CD / build-and-push (push) Successful in 2m15s

This commit is contained in:
Lukáš Kucharczyk 2025-06-07 20:28:14 +02:00
parent 7cf2180192
commit 5cc1652002
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg

View File

@ -52,7 +52,7 @@ def game_status_changed(sender, instance, **kwargs):
game=instance,
old_status=old_status,
new_status=instance.status,
timestamp=instance.updated_at,
timestamp=now(),
)
else:
logger.info("[game_status_changed]: Status has not changed")