🐛 Fix did not bind path for insight handler
This commit is contained in:
parent
e90458c049
commit
2ca6c615ff
@ -44,6 +44,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
|||||||
posts.Get("/minimal", listPostMinimal)
|
posts.Get("/minimal", listPostMinimal)
|
||||||
posts.Get("/drafts", listDraftPost)
|
posts.Get("/drafts", listDraftPost)
|
||||||
posts.Get("/:postId", getPost)
|
posts.Get("/:postId", getPost)
|
||||||
|
posts.Get("/:postId/insight", getPostInsight)
|
||||||
posts.Post("/:postId/react", reactPost)
|
posts.Post("/:postId/react", reactPost)
|
||||||
posts.Post("/:postId/pin", pinPost)
|
posts.Post("/:postId/pin", pinPost)
|
||||||
posts.Delete("/:postId", deletePost)
|
posts.Delete("/:postId", deletePost)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user