mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-13 12:42:36 -05:00
Fix TODO
This commit is contained in:
parent
02e5d8fb46
commit
e0f4bfdb30
|
|
@ -453,8 +453,7 @@ export function findResultsByUserId(userId: number) {
|
|||
"CalendarEvent.name as eventName",
|
||||
"CalendarEventResultTeam.id as teamId",
|
||||
"CalendarEventResultTeam.name as teamName",
|
||||
// TODO: can we get rid of the "as"?
|
||||
withMaxEventStartTime(eb as ExpressionBuilder<DB, "CalendarEvent">),
|
||||
withMaxEventStartTime(eb),
|
||||
exists(
|
||||
selectFrom("UserResultHighlight")
|
||||
.where("UserResultHighlight.userId", "=", userId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user