Skip to content

Commit 2d7a3a6

Browse files
committed
Update queryDB.ts
1 parent 035e8ec commit 2d7a3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/queryDB.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ export async function getStatsCanvasUserData(
12951295
m.created_at AS time
12961296
FROM match_users mu
12971297
JOIN matches m ON m.id = mu.match_id
1298-
WHERE mu.user_id = $1 AND m.queue_id = $2 AND m.winning_team IS NOT NULL
1298+
WHERE mu.user_id = $1 AND m.queue_id = $2 AND m.winning_team IS NOT NULL AND mu.elo_change != 0.0
12991299
ORDER BY m.created_at DESC
13001300
LIMIT 4
13011301
`,

0 commit comments

Comments
 (0)