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 1cd7fab414
commit 956dce038d

View File

@ -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',