Fix TVDB API endpoint issue - corrected show details endpoint

This commit is contained in:
Jarian Cottingham 2026-02-18 21:58:12 -06:00
parent c1818d4a78
commit 421e223a6a

View File

@ -218,7 +218,8 @@ ipcMain.handle('get-show-details', async (event, showId) => {
} }
// Make API request to get show extended details including seasons // 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: { headers: {
'Authorization': `Bearer ${token}`, 'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json', 'Content-Type': 'application/json',