Skip to content

Commit

Permalink
pass agenda to live
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Dec 1, 2023
1 parent 8bbce70 commit fbd027d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ func admin(c echo.Context) error {
}

func live(c echo.Context) error {
return c.Render(200, "live.html", nil)
ctx := c.(*CustomContext)
return c.Render(200, "live.html", ctx.Agenda)
}

func roomTracks(c echo.Context) error {
Expand Down

0 comments on commit fbd027d

Please sign in to comment.