mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-18 17:53:18 +02:00
feat: Simple search page implementation
This commit is contained in:
@@ -231,6 +231,17 @@ export class TmdbApi implements Api<paths> {
|
||||
})
|
||||
.then((res) => res.data);
|
||||
|
||||
searchTitles = (query: string) =>
|
||||
this.getClient()
|
||||
?.GET('/3/search/multi', {
|
||||
params: {
|
||||
query: {
|
||||
query
|
||||
}
|
||||
}
|
||||
})
|
||||
.then((res) => res.data?.results || []) || Promise.resolve([]);
|
||||
|
||||
// OTHER
|
||||
|
||||
// USER
|
||||
|
||||
Reference in New Issue
Block a user