Fix TVDB API endpoint issue - corrected show details endpoint
This commit is contained in:
parent
1cd7fab414
commit
956dce038d
3
main.js
3
main.js
@ -218,7 +218,8 @@ ipcMain.handle('get-show-details', async (event, showId) => {
|
||||
}
|
||||
|
||||
// Make API request to get show extended details including seasons
|
||||
const response = await axios.get(`https://api4.thetvdb.com/v4/series/${showId}/extended`, {
|
||||
// Using the correct endpoint structure from the API documentation
|
||||
const response = await axios.get(`https://api4.thetvdb.com/v4/series/${showId}`, {
|
||||
headers: {
|
||||
'Authorization': `Bearer ${token}`,
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user