1
0
Fork 0

In main.go removed a space between httpr.Handler() statements for mindflow and its category.

This commit is contained in:
Alexander Andreev 2023-07-29 18:08:02 +04:00
parent 5802410fa4
commit 7ee5939d39
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 0 additions and 1 deletions

View File

@ -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)