mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🚧 Change query in SearchBar to use new API
This commit is contained in:
@@ -76,11 +76,7 @@ export default function SearchBar(props: any) {
|
||||
}
|
||||
if (form.values.query.startsWith('!os')) {
|
||||
axios
|
||||
.get(
|
||||
`/api/modules/overseerr?query=${form.values.query.replace('!os ', '')}&id=${
|
||||
OverseerrService?.id
|
||||
}`
|
||||
)
|
||||
.get(`/api/modules/overseerr?query=${form.values.query.replace('!os ', '')}`)
|
||||
.then((res) => {
|
||||
setOverseerrResults(res.data.results ?? []);
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user