fix(aurora): make sure the user_id in changes is always an integer

This commit is contained in:
Seaswimmer 2024-05-06 15:03:41 -04:00
parent 8d1a57165d
commit e14845ef85
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -301,7 +301,8 @@ class Change(AuroraBaseModel):
data.update({
"timestamp": timestamp,
"end_timestamp": end_timestamp,
"duration": duration
"duration": duration,
"user_id": int(data["user_id"])
})
return cls(bot=bot, **data)