🐛 Fix reply featured api path issue
This commit is contained in:
parent
41af202623
commit
45698db199
@ -42,7 +42,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
|||||||
posts.Delete("/:postId", deletePost)
|
posts.Delete("/:postId", deletePost)
|
||||||
|
|
||||||
posts.Get("/:postId/replies", listPostReplies)
|
posts.Get("/:postId/replies", listPostReplies)
|
||||||
posts.Get("/:postId/featured", listPostFeaturedReply)
|
posts.Get("/:postId/replies/featured", listPostFeaturedReply)
|
||||||
}
|
}
|
||||||
|
|
||||||
api.Get("/categories", listCategories)
|
api.Get("/categories", listCategories)
|
||||||
|
Loading…
Reference in New Issue
Block a user