From e14845ef85a688a87f6abb5423ad162ff5d58bf5 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 15:03:41 -0400 Subject: [PATCH] fix(aurora): make sure the user_id in changes is always an integer --- aurora/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aurora/models.py b/aurora/models.py index 07c73e6..7f32944 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -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)