feat: added torrents and similar for every movie
This commit is contained in:
1 parent
ada725072f
commit
8bff4d6d80
16 files changed
+91
-117
No files matched your search
@@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user