fix: update import path for TanstackQueryApiClient to use the correct generated client
All checks were successful
Test / test-frontend (pull_request) Successful in 22s
Test / frontend-build (pull_request) Successful in 25s
Verify / verify-generated-code (pull_request) Successful in 53s
Verify / verify-openapi-spec (pull_request) Successful in 1m11s
Test / test (pull_request) Successful in 1m13s
Test / lint (pull_request) Successful in 1m14s
Verify / verify-frontend-api-client (pull_request) Successful in 22s

This commit is contained in:
GW_MC
2025-12-05 20:43:46 +08:00
parent 75a3777cb0
commit 5e0ab960f9

View File

@@ -1,6 +1,6 @@
import type { AxiosInstance, AxiosResponse } from 'axios'; import type { AxiosInstance, AxiosResponse } from 'axios';
import { type Fetcher, type Method, createApiClient } from '../generated/api-client/api-client'; import { type Fetcher, type Method, createApiClient } from '../generated/api-client/api-client';
import { TanstackQueryApiClient } from '../generated/tanstack-client'; import { TanstackQueryApiClient } from '../generated/api-client/tanstack-client';
const API_BASE_URL: string | undefined = import.meta.env.VITE_API_BASE_URL; const API_BASE_URL: string | undefined = import.meta.env.VITE_API_BASE_URL;