Skip to content

Commit

Permalink
Only select a single display
Browse files Browse the repository at this point in the history
  • Loading branch information
beverloo committed Mar 15, 2024
1 parent 5dc5d7f commit 4aea1d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/display/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ async function display(request: Request, props: ActionProps): Promise<Response>
.on(activitiesLocationsJoin.locationId.equals(tDisplays.displayLocationId))
.leftJoin(eventsJoin)
.on(eventsJoin.eventId.equals(tDisplays.displayEventId))
.where(tDisplays.displayId.equals(displayId))
.select({
identifier: tDisplays.displayIdentifier,
label: tDisplays.displayLabel,
Expand Down

0 comments on commit 4aea1d7

Please sign in to comment.