We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55be54a commit a147344Copy full SHA for a147344
server/app/api/_router.ts
@@ -75,7 +75,7 @@ export const appRouter = router({
75
return db.showWithDuration.findMany({
76
where: {
77
end: {
78
- gte: subtract(new Date(), { hours: input?.gracePeriodHours ?? 0 }),
+ lte: subtract(new Date(), { hours: input?.gracePeriodHours ?? 0 }),
79
},
80
81
});
0 commit comments