Skip to content

Commit

Permalink
/season route now returns event id
Browse files Browse the repository at this point in the history
  • Loading branch information
arralia committed Mar 13, 2024
1 parent 7095bad commit b12e30b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes/publishedSchedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ publishedScheduleRouter.get('/season', async (req, res) => {
(
SELECT
PS.id,
PS.event_id,
PS.day_id,
D.id AS day_day_id,
D.event_date,
Expand Down Expand Up @@ -197,6 +198,7 @@ publishedScheduleRouter.get('/season', async (req, res) => {
JSON_AGG(
json_build_object (
'id', seasonPS.id,
'event_id', seasonPS.event_id,
'title', seasonPS.title,
'event_type', seasonPS.event_type,
'year', seasonPS.year,
Expand Down

0 comments on commit b12e30b

Please sign in to comment.