🐛 Fix reply featured api path issue

This commit is contained in:
LittleSheep 2024-09-16 23:04:35 +08:00
parent 41af202623
commit 45698db199

View File

@ -42,7 +42,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
posts.Delete("/:postId", deletePost)
posts.Get("/:postId/replies", listPostReplies)
posts.Get("/:postId/featured", listPostFeaturedReply)
posts.Get("/:postId/replies/featured", listPostFeaturedReply)
}
api.Get("/categories", listCategories)