mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-03-28 00:21:47 +01:00
Fix:Custom metadata provider including extra curly bracket in query string #2860
This commit is contained in:
parent
dbe10382fd
commit
ad30977781
@ -43,7 +43,7 @@ class CustomProviderAdapter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const matches = await axios.get(`${provider.url}/search?${queryString}}`, axiosOptions).then((res) => {
|
const matches = await axios.get(`${provider.url}/search?${queryString}`, axiosOptions).then((res) => {
|
||||||
if (!res?.data || !Array.isArray(res.data.matches)) return null
|
if (!res?.data || !Array.isArray(res.data.matches)) return null
|
||||||
return res.data.matches
|
return res.data.matches
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
Loading…
Reference in New Issue
Block a user