lint fixes

This commit is contained in:
ChrisScott9456
2026-06-15 10:48:18 -04:00
parent f3966e3211
commit aa12585b20
23 changed files with 149 additions and 159 deletions
@@ -1931,6 +1931,20 @@ export const JellyfinController: InternalControllerEndpoint = {
return null;
},
startScan: async (args) => {
const { apiClientProps } = args;
const res = await jfApiClient(apiClientProps).startScan({
body: null,
query: {},
});
if (res.status !== 204) {
throw new Error('Failed to start scan');
}
return null;
},
updateInternetRadioStation: async (args) => {
const { apiClientProps, body, query } = args;
@@ -1996,20 +2010,6 @@ export const JellyfinController: InternalControllerEndpoint = {
'Failed to upload playlist image',
);
},
startScan: async (args) => {
const { apiClientProps } = args;
const res = await jfApiClient(apiClientProps).startScan({
body: null,
query: {},
});
if (res.status !== 204) {
throw new Error('Failed to start scan');
}
return null;
},
};
function getLibraryId(musicFolderId?: string | string[]) {