diff options
Diffstat (limited to 'cmd/dashboard/main.go')
| -rw-r--r-- | cmd/dashboard/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index c154d9b..9f69d46 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -366,6 +366,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) } else { log.Println("WIDGET_TOKEN not set — /api/widget disabled") } |
