Skip to content

Commit 8733889

Browse files
authored
Merge pull request #151 from SmoFlaDru/dev-benno
Fix typo in user month activity query
2 parents 6b1bdcd + 74fbcc2 commit 8733889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spybot/visualization.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def user_month_activity(merged_user_id: int):
316316
WHERE startTime > MAKE_DATE(2016, 1, 1)
317317
AND endTime IS NOT NULL
318318
AND channel.name NOT IN ('bei\sBedarf\sanstupsen', 'AFK')
319-
AND TSUser.merged_user_id = :user
319+
AND TSUser.merged_user_id = %s
320320
GROUP BY year, month
321321
ORDER BY year, month),
322322
months AS (

0 commit comments

Comments
 (0)