Skip to content

Commit

Permalink
modify request params of chatbot api
Browse files Browse the repository at this point in the history
  • Loading branch information
FU-design committed Sep 27, 2024
1 parent 043ddd1 commit 1f315a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bigtop-manager-ui/src/api/chatbot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const getSupportedPlatforms = (): Promise<SupportedPlatform[]> => {
url: '/chatbot/platforms'
})
}
export const getCredentialFormModelofPlatform = (
export const getCredentialFormModelOfPlatform = (
platformId: string | number
): Promise<CredentialFormItem[]> => {
return request({
Expand Down
4 changes: 2 additions & 2 deletions bigtop-manager-ui/src/composables/use-chat-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
delChatThread,
getAuthorizedPlatforms,
getChatThreads,
getCredentialFormModelofPlatform,
getCredentialFormModelOfPlatform,
getSupportedPlatforms,
getThreadChatHistory,
validateAuthCredentials
Expand Down Expand Up @@ -89,7 +89,7 @@ const useChatBot = () => {
) {
try {
loading.value = true
const data = await getCredentialFormModelofPlatform(platformId)
const data = await getCredentialFormModelOfPlatform(platformId)
return Promise.resolve(data)
} catch (error) {
console.log('error :>> ', error)
Expand Down

0 comments on commit 1f315a3

Please sign in to comment.