Skip to content

Commit

Permalink
Merge branch 'dev' into 55-accounts-page-basic-functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatMegamind authored Mar 21, 2024
2 parents cb17630 + b23ac61 commit d9d2a6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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 Expand Up @@ -394,7 +396,7 @@ publishedScheduleRouter.put('/:id', async (req, res) => {
start_time = COALESCE($5, start_time),
end_time = COALESCE($6, end_time),
cohort = COALESCE($7, cohort),
notes = COALESCE($8, notes)
notes = COALESCE($8, notes),
created_on = COALESCE($9, created_on)
WHERE id = $10
Expand Down

0 comments on commit d9d2a6f

Please sign in to comment.