Skip to content

Commit

Permalink
;int
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydan Pirani committed Sep 17, 2024
1 parent e736a37 commit d2a56d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/events/events-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ eventsRouter.get(
try {
const event = await Database.EVENTS.findOne({
startTime: { $gte: currentTime },
...(isUser && {isVisible: true})
...(isUser && { isVisible: true }),
}).sort({ startTime: 1 });

if (event) {
Expand Down

0 comments on commit d2a56d8

Please sign in to comment.