Found a typo in main.go.
This commit is contained in:
parent
b11cc6836e
commit
64a51018f6
@ -87,7 +87,7 @@ func main() {
|
|||||||
srv.PATCH("/api/guestbook/:id", guestbookApi.Edit)
|
srv.PATCH("/api/guestbook/:id", guestbookApi.Edit)
|
||||||
srv.DELETE("/api/guestbook/:id", guestbookApi.Delete)
|
srv.DELETE("/api/guestbook/:id", guestbookApi.Delete)
|
||||||
srv.POST("/api/guestbook/:id/reply", guestbookApi.Reply)
|
srv.POST("/api/guestbook/:id/reply", guestbookApi.Reply)
|
||||||
srv.PATCH("/api/guestbook/:id/reply", guestbookApi.Reply)
|
srv.PATCH("/api/guestbook/:id/reply", guestbookApi.EditReply)
|
||||||
srv.DELETE("/api/guestbook/:id/reply", guestbookApi.DeleteReply)
|
srv.DELETE("/api/guestbook/:id/reply", guestbookApi.DeleteReply)
|
||||||
|
|
||||||
mindflowApi := http.NewMindflowApiHandlers()
|
mindflowApi := http.NewMindflowApiHandlers()
|
||||||
|
Loading…
Reference in New Issue
Block a user