Commit 9648c432 authored by shaw's avatar shaw
Browse files

fix(frontend): resolve TS2352 type assertion error in API client

parent a1a28368
......@@ -92,7 +92,7 @@ apiClient.interceptors.response.use(
response.data = apiResponse.data
} else {
// API error
const resp = apiResponse as Record<string, unknown>
const resp = apiResponse as unknown as Record<string, unknown>
return Promise.reject({
status: response.status,
code: apiResponse.code,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment