From 0c5250f09e077356c10ac249b01ad3d9ebd97784 Mon Sep 17 00:00:00 2001 From: Interitio Date: Thu, 30 Oct 2025 22:07:14 +1000 Subject: [PATCH] fix: Typo in join column name --- subathon/subathon.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subathon/subathon.py b/subathon/subathon.py index 53b3d7c..856eb1f 100644 --- a/subathon/subathon.py +++ b/subathon/subathon.py @@ -165,7 +165,7 @@ class ActiveSubathon: ) .join( "subscribe_events", - using=("eventid",), + using=("event_id",), join_type=JOINTYPE.INNER, ) .select(total=f"SUM({pointcol})") @@ -180,7 +180,7 @@ class ActiveSubathon: ) .join( "subscribe_message_events", - using=("eventid",), + using=("event_id",), join_type=JOINTYPE.INNER, ) .select(total=f"SUM({pointcol})") @@ -195,7 +195,7 @@ class ActiveSubathon: ) .join( "subscribe_gift_events", - using=("eventid",), + using=("event_id",), join_type=JOINTYPE.INNER, ) .select(total=f"SUM(gifted_count * ({pointcol}))") @@ -217,7 +217,7 @@ class ActiveSubathon: ) .join( "bits_events", - using=("eventid",), + using=("event_id",), join_type=JOINTYPE.INNER, ) .select(total="SUM(bits)")