feat: Updated library page to use new data store

This commit is contained in:
Aleksi Lassila
2023-08-29 21:05:45 +03:00
parent b5c39c656d
commit 81e3883485
22 changed files with 599 additions and 854 deletions

View File

@@ -75,11 +75,11 @@ export const getTmdbMovie = async (tmdbId: number) =>
}
}).then((res) => res.data as TmdbMovieFull2 | undefined);
export const getTmdbSeriesFromTvdbId = async (tvdbId: number) =>
export const getTmdbSeriesFromTvdbId = async (tvdbId: string) =>
TmdbApiOpen.get('/3/find/{external_id}', {
params: {
path: {
external_id: String(tvdbId)
external_id: tvdbId
},
query: {
external_source: 'tvdb_id'