🐛 Fix bot related bot key apis path error
This commit is contained in:
@ -107,7 +107,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
bots.Post("/", createBot)
|
||||
bots.Delete("/:botId", deleteBot)
|
||||
|
||||
keys := bots.Group("/keys").Name("Bots' Keys")
|
||||
keys := bots.Group("/keys/:botId").Name("Bots' Keys")
|
||||
{
|
||||
keys.Get("/", listBotKeys)
|
||||
keys.Post("/", createBotKey)
|
||||
|
Reference in New Issue
Block a user