fix subsonic login error: use status instead

This commit is contained in:
Kendall Garner
2025-07-08 16:42:30 -07:00
parent 4407c8d424
commit 56130d8503
2 changed files with 8 additions and 1 deletions
@@ -251,6 +251,9 @@ axiosClient.interceptors.response.use(
message: data['subsonic-response'].error.message,
title: i18n.t('error.genericError', { postProcess: 'sentenceCase' }) as string,
});
// Since we do status === 200, override this value with the error code
response.status = data['subsonic-response'].error.code;
}
}