In main.go removed a space between httpr.Handler() statements for mindflow and its category.
This commit is contained in:
parent
5802410fa4
commit
7ee5939d39
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user