feat: added torrents and similar for every movie

This commit is contained in:
ner committed 2023-08-18 12:36:10 +03:00
1 parent ada725072f
commit 8bff4d6d80
16 files changed
+91 -117

No files matched your search

+4 -3
View File
@@ -14,10 +14,11 @@ const API = {
}
});
},
person({ id }: { id: string }): Promise<Person> {
return client.get('/person', {
similar({ page, movieId }: { page: string; movieId: string }): Promise<MovieDBResponse> {
return client.get('/discover/similar', {
params: {
id
page,
movieId
}
});
}