mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Fix subsonic error result
This commit is contained in:
@@ -169,8 +169,8 @@ export const ssApiClient = (args: {
|
||||
const error = e as AxiosError;
|
||||
const response = error.response as AxiosResponse;
|
||||
return {
|
||||
body: response.data,
|
||||
status: response.status,
|
||||
body: response?.data,
|
||||
status: response?.status,
|
||||
};
|
||||
}
|
||||
throw e;
|
||||
|
||||
Reference in New Issue
Block a user