From dfb06e896b92003d219979cbb1476ed16b7734a3 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 12 Jul 2026 10:34:34 +0000 Subject: feat(widget): add POST /api/widget/add for quick-add --- cmd/dashboard/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/dashboard') diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index b38b9e1..5414a9d 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -371,6 +371,7 @@ func main() { r.With(widgetAuth).Get("/api/widget", h.HandleWidgetGet) r.With(widgetAuth).Post("/api/widget/complete", h.HandleWidgetComplete) r.With(widgetAuth).Post("/api/widget/reschedule", h.HandleWidgetReschedule) + r.With(widgetAuth).Post("/api/widget/add", h.HandleWidgetAdd) } else { log.Println("WIDGET_TOKEN not set — /api/widget disabled") } -- cgit v1.2.3