From 7ee5939d39b566fdb218d0e0794940f44ef1b3a1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 29 Jul 2023 18:08:02 +0400 Subject: [PATCH] In main.go removed a space between httpr.Handler() statements for mindflow and its category. --- cmd/dwelling-home/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/dwelling-home/main.go b/cmd/dwelling-home/main.go index a0fe5de..60a87b6 100644 --- a/cmd/dwelling-home/main.go +++ b/cmd/dwelling-home/main.go @@ -114,7 +114,6 @@ func main() { r.Handler(http.MethodPost, "/api/mindflow", mindflowApi.NewPost) r.Handler(http.MethodPatch, "/api/mindflow/:id", mindflowApi.EditPost) r.Handler(http.MethodDelete, "/api/mindflow/:id", mindflowApi.DeletePost) - r.Handler(http.MethodPost, "/api/mindflow/category", mindflowApi.NewCategory) r.Handler(http.MethodPatch, "/api/mindflow/category/:id", mindflowApi.EditCategory) r.Handler(http.MethodDelete, "/api/mindflow/category/:id", mindflowApi.DeleteCategory)