Add exceptional hour modals
This commit is contained in:
+4
-3
@@ -77,11 +77,11 @@ func main() {
|
||||
r.Post("/register", authHandlers.RegisterHandler)
|
||||
r.Post("/login", authHandlers.LoginHandler)
|
||||
|
||||
// --- Scheduling public GET routes ---
|
||||
// --- Scheduling Routes ---
|
||||
r.Route("/scheduling", func(r chi.Router) {
|
||||
// Public GET routes
|
||||
r.Get("/default-hours", scheduling.GetDefaultHours)
|
||||
r.Get("/exceptional-groups", scheduling.ListExceptionalGroups)
|
||||
r.Get("/exceptional-applications", scheduling.ListExceptionalApplications)
|
||||
r.Get("/working-hours", scheduling.GetWorkingHours)
|
||||
r.Get("/available-hours", scheduling.GetAvailableHours)
|
||||
|
||||
@@ -92,7 +92,8 @@ func main() {
|
||||
|
||||
r.Put("/default-hours", scheduling.UpdateDefaultHours)
|
||||
r.Post("/exceptional-groups", scheduling.CreateExceptionalGroup)
|
||||
r.Post("/exceptional-applications", scheduling.CreateExceptionalApplication)
|
||||
r.Delete("/exceptional-groups", scheduling.DeleteExceptionalGroup)
|
||||
r.Put("/exceptional-applications", scheduling.UpdateExceptionalApplications)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user