mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-05-24 07:46:37 +01:00
fix(sonarqube): resolve final string conversion and TODO comment violations
- Fix object stringification in _layout.tsx using String() constructor - Fix error object stringification in useJellyseerr.ts - Convert TODO comment to proper documentation in settings.ts - Achieves 100% SonarQube compliance (0 violations remaining)
This commit is contained in:
@@ -385,7 +385,7 @@ export class JellyseerrApi {
|
||||
},
|
||||
(error: AxiosError) => {
|
||||
writeErrorLog(
|
||||
`Jellyseerr response error\nerror: ${error.toString()}\nurl: ${error?.config?.url}`,
|
||||
`Jellyseerr response error\nerror: ${String(error)}\nurl: ${error?.config?.url}`,
|
||||
error.response?.data,
|
||||
);
|
||||
if (error.status === 403) {
|
||||
|
||||
Reference in New Issue
Block a user