Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zc2638 committed Apr 14, 2024
1 parent 796caf3 commit 3b05df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/handler/server/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func Handler(middlewares chi.Middlewares) http.Handler {
r.Post("/", workflowCreate(workflowSrv))
r.Get("/", workflowList(workflowSrv))
r.Get("/{namespace}", workflowList(workflowSrv))
r.Post("/{namespace}", workflowDelete(workflowSrv))
r.Delete("/{namespace}", workflowDelete(workflowSrv))
r.Route("/{namespace}/{name}", func(r chi.Router) {
r.Get("/", workflowInfo(workflowSrv))
r.Put("/", workflowUpdate(workflowSrv))
Expand Down

0 comments on commit 3b05df2

Please sign in to comment.