Skip to content

Commit 5b89d99

Browse files
Fix listUpcoming, properly (#252)
1 parent a30932e commit 5b89d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/app/api/_router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const appRouter = router({
7575
return db.showWithDuration.findMany({
7676
where: {
7777
end: {
78-
lte: sub(new Date(), { hours: input?.gracePeriodHours ?? 0 }),
78+
gte: sub(new Date(), { hours: input?.gracePeriodHours ?? 0 }),
7979
},
8080
},
8181
});

0 commit comments

Comments
 (0)