Skip to content

Commit 4f75f17

Browse files
Merge branch 'feature/RI-4616-rdi-support' of https://github.com/RedisInsight/RedisInsight into be/feature/RI-5156_rdi_tip
2 parents de1344d + c411b8a commit 4f75f17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/slices/panels/aiAssistant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
getAxiosError,
1111
isStatusSuccessful,
1212
Maybe,
13-
parseCloudOAuthError
13+
parseCustomError
1414
} from 'uiSrc/utils'
1515
import { getBaseUrl } from 'uiSrc/services/apiService'
1616
import { getStreamedAnswer } from 'uiSrc/utils/api'
@@ -359,7 +359,7 @@ export function askExpertChatbotAction(
359359
},
360360
onError: (error: any) => {
361361
if (error?.status === ApiStatusCode.Unauthorized) {
362-
const err = parseCloudOAuthError(error)
362+
const err = parseCustomError(error)
363363
dispatch(addErrorNotification(err))
364364
dispatch(logoutUserAction())
365365
} else {

0 commit comments

Comments
 (0)