feat: show page
This commit is contained in:
1 parent
abe1c795a1
commit
183c7231a1
26 files changed
+210
-176
No files matched your search
@@ -13,6 +13,7 @@ const detailsQuery = ({ showId, showType }: DetailsQueryProps) => ({
|
||||
movieAdvisor
|
||||
.get<(Movie | Series) & Details>(`/${showType}/${showId}`)
|
||||
.then((response) => ({ ...response, ...mapMovieSeriesToShow(response, showType) }))
|
||||
.catch((error) => Promise.reject(error))
|
||||
});
|
||||
|
||||
export default detailsQuery;
|
||||
Reference in new issue
Block a user