diff --git a/backend/main.go b/backend/main.go index e448270..4147831 100644 --- a/backend/main.go +++ b/backend/main.go @@ -218,6 +218,12 @@ func main() { r.Get("/", notifications.GetNotifications) r.Post("/{id}/acknowledge", notifications.AcknowledgeNotification) }) + + r.Route("/admin/time-blockers", func(r chi.Router) { + r.Get("/", scheduling.ListTimeBlockers) + r.Post("/", scheduling.CreateTimeBlocker) + r.Delete("/{id}", scheduling.DeleteTimeBlocker) + }) }) })