mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 07:10:29 +08:00
Refactor: Standardize naming convention to camelCase (#14079)
### What problem does this PR solve? Refactor: Standardize naming convention to camelCase ### Type of change - [x] Refactoring
This commit is contained in:
@@ -50,7 +50,7 @@ export const useFetchUserInfo = (): ResponseGetType<IUserInfo> => {
|
||||
initialData: {},
|
||||
gcTime: 0,
|
||||
queryFn: async () => {
|
||||
const { data } = await userService.user_info();
|
||||
const { data } = await userService.userInfo();
|
||||
|
||||
if (data.code === 0) {
|
||||
const targetLng =
|
||||
@@ -79,7 +79,7 @@ export const useFetchTenantInfo = (
|
||||
initialData: {},
|
||||
gcTime: 0,
|
||||
queryFn: async () => {
|
||||
const { data: res } = await userService.get_tenant_info();
|
||||
const { data: res } = await userService.getTenantInfo();
|
||||
if (res.code === 0) {
|
||||
// llm_id is chat_id
|
||||
// asr_id is speech2txt
|
||||
|
||||
Reference in New Issue
Block a user