Fix subsonic error result
This commit is contained in:
parent
684ba13175
commit
89afa9b836
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue