fix: align webhook regenerate route with frontend path

This commit is contained in:
2026-03-28 13:58:53 +03:00
parent 52eec11d16
commit 77251c540b
4 changed files with 30 additions and 11 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func (s *Server) Router() chi.Router {
r.Get("/settings", s.getSettings)
r.Put("/settings", s.updateSettings)
r.Get("/settings/webhook-url", s.getWebhookURL)
r.Post("/settings/regenerate", s.regenerateWebhookSecret)
r.Post("/settings/webhook-url/regenerate", s.regenerateWebhookSecret)
})
})