🐛 Fix path parameters misplaced
This commit is contained in:
parent
4b0910f6eb
commit
52c06d9826
@ -4,7 +4,7 @@
|
||||
<option name="autoReloadType" value="ALL" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":sparkles: Bot related bot key apis">
|
||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":bug: Fix bot related bot key apis path error">
|
||||
<change beforePath="$PROJECT_DIR$/pkg/internal/server/api/index.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/server/api/index.go" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
@ -152,7 +152,6 @@
|
||||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value=":bug: Fix oauth ticket need mfa" />
|
||||
<MESSAGE value=":arrow_up: Support new auth api" />
|
||||
<MESSAGE value=":recycle: Refactored relation system :arrow_up: Support new realm & relation api" />
|
||||
<MESSAGE value=":bug: Fix model relation issue" />
|
||||
@ -177,7 +176,8 @@
|
||||
<MESSAGE value=":bug: Fix compare perm node panic" />
|
||||
<MESSAGE value=":bug: Fix compare perm node function" />
|
||||
<MESSAGE value=":sparkles: Bot related bot key apis" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value=":sparkles: Bot related bot key apis" />
|
||||
<MESSAGE value=":bug: Fix bot related bot key apis path error" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value=":bug: Fix bot related bot key apis path error" />
|
||||
</component>
|
||||
<component name="VgoProject">
|
||||
<settings-migrated>true</settings-migrated>
|
||||
|
@ -107,7 +107,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
bots.Post("/", createBot)
|
||||
bots.Delete("/:botId", deleteBot)
|
||||
|
||||
keys := bots.Group("/keys/:botId").Name("Bots' Keys")
|
||||
keys := bots.Group("/:botId/keys").Name("Bots' Keys")
|
||||
{
|
||||
keys.Get("/", listBotKeys)
|
||||
keys.Post("/", createBotKey)
|
||||
|
Loading…
Reference in New Issue
Block a user