summaryrefslogtreecommitdiff
path: root/cmd/dashboard/main.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-07-12 11:12:55 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-07-12 11:12:55 +0000
commit6fdd09bfe030ce91ee188f18c198fd6a57c7b42f (patch)
treeb358dcd34aee62de8bcefafdffa2049d57f900df /cmd/dashboard/main.go
parentf31b4722243b8b69564c94e47e07678153c31815 (diff)
feat(widget): add recurrence lookup endpoint (GET /api/widget/recurrence)
Diffstat (limited to 'cmd/dashboard/main.go')
-rw-r--r--cmd/dashboard/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 5414a9d..d4e4dcb 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).Get("/api/widget/recurrence", h.HandleWidgetRecurrence)
r.With(widgetAuth).Post("/api/widget/add", h.HandleWidgetAdd)
} else {
log.Println("WIDGET_TOKEN not set — /api/widget disabled")