1
0
mirror of https://github.com/advplyr/audiobookshelf.git synced 2025-04-02 01:16:54 +02:00

Fix:Custom metadata provider including extra curly bracket in query string

This commit is contained in:
advplyr 2024-04-18 16:16:59 -05:00
parent dbe10382fd
commit ad30977781

View File

@ -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 => {