fix(aurora): make sure the user_id in changes is always an integer
This commit is contained in:
parent
8d1a57165d
commit
e14845ef85
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ class Change(AuroraBaseModel):
|
||||||
data.update({
|
data.update({
|
||||||
"timestamp": timestamp,
|
"timestamp": timestamp,
|
||||||
"end_timestamp": end_timestamp,
|
"end_timestamp": end_timestamp,
|
||||||
"duration": duration
|
"duration": duration,
|
||||||
|
"user_id": int(data["user_id"])
|
||||||
})
|
})
|
||||||
return cls(bot=bot, **data)
|
return cls(bot=bot, **data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue