Skip to content

Commit f21f976

Browse files
authored
[frontend] Fix the mismatch between the interface parameter description and the actual parameter case (#578)
1 parent 26605a3 commit f21f976

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

frontend/src/locale/en_US.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,10 +1051,10 @@
10511051
"tenantId": {
10521052
"description": "Unique identifier of the tenant"
10531053
},
1054-
"app_id": {
1054+
"appId": {
10551055
"description": "The unique identifier of the application"
10561056
},
1057-
"chat_id": {
1057+
"chatId": {
10581058
"description": "The unique identifier of the chat session to be deleted. If not specified, all chats will be deleted"
10591059
}
10601060
}

frontend/src/locale/zh_CN.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,10 +1051,10 @@
10511051
"tenantId": {
10521052
"description": "租户的唯一标识符"
10531053
},
1054-
"app_id": {
1054+
"appId": {
10551055
"description": "应用的唯一标识符"
10561056
},
1057-
"chat_id": {
1057+
"chatId": {
10581058
"description": "要删除的聊天会话的唯一标识符,若没有指定,则全部删除"
10591059
}
10601060
}

frontend/src/pages/appDetail/overview/common/config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,23 +1369,23 @@ export const apiListData = {
13691369
{
13701370
schema: {
13711371
type: 'string',
1372-
description: 'north.api.deleteChat.parameters.app_id.description',
1372+
description: 'north.api.deleteChat.parameters.appId.description',
13731373
},
13741374
in: 'query',
13751375
deprecated: false,
1376-
name: 'app_id',
1377-
description: 'north.api.deleteChat.parameters.app_id.description',
1376+
name: 'appId',
1377+
description: 'north.api.deleteChat.parameters.appId.description',
13781378
required: false,
13791379
},
13801380
{
13811381
schema: {
13821382
type: 'string',
1383-
description: 'north.api.deleteChat.parameters.chat_id.description',
1383+
description: 'north.api.deleteChat.parameters.chatId.description',
13841384
},
13851385
in: 'query',
13861386
deprecated: false,
1387-
name: 'chat_id',
1388-
description: 'north.api.deleteChat.parameters.chat_id.description',
1387+
name: 'chatId',
1388+
description: 'north.api.deleteChat.parameters.chatId.description',
13891389
required: false,
13901390
},
13911391
],

0 commit comments

Comments
 (0)