🐛 Fix map routes panic
This commit is contained in:
parent
90fb9960cc
commit
5749b5bfb1
@ -18,7 +18,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
boost.Put("/:id", sec.ValidatorMiddleware, updateBoost)
|
||||
}
|
||||
|
||||
pools := api.Get("/pools").Name("Pools API")
|
||||
pools := api.Group("/pools").Name("Pools API")
|
||||
{
|
||||
pools.Get("/", listPool)
|
||||
pools.Get("/:id", getPool)
|
||||
|
Loading…
Reference in New Issue
Block a user