From fbd027d9029086c205dc22e0641e2a22a6c3ad3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= <ulexus@gmail.com> Date: Fri, 1 Dec 2023 10:40:13 -0500 Subject: [PATCH] pass agenda to live --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index b0ac0ed..483412d 100644 --- a/main.go +++ b/main.go @@ -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 {