fix(calendar): register routes at top level so frontend can reach /channels/{id}/events

This commit is contained in:
2026-07-09 14:43:34 -04:00
parent 9a6f15662b
commit 302bd2f4e8
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -243,6 +243,9 @@ func main() {
notification.NewHandler(database.DB, logger).RegisterRoutes(r)
})
// Calendar events (top-level so frontend can reach /channels/{id}/events)
channel.NewHandler(database.DB, permissionsChecker).RegisterCalendarRoutes(r)
// Push notifications
pushHandler.RegisterRoutes(r)