diff --git a/main.js b/main.js index 11fe32d..c46cf0c 100644 --- a/main.js +++ b/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',