Always set game status change timestamp to now instead of game's last updated_at
This commit is contained in:
parent
7cf2180192
commit
5cc1652002
@ -52,7 +52,7 @@ def game_status_changed(sender, instance, **kwargs):
|
|||||||
game=instance,
|
game=instance,
|
||||||
old_status=old_status,
|
old_status=old_status,
|
||||||
new_status=instance.status,
|
new_status=instance.status,
|
||||||
timestamp=instance.updated_at,
|
timestamp=now(),
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
logger.info("[game_status_changed]: Status has not changed")
|
logger.info("[game_status_changed]: Status has not changed")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user