This commit is contained in:
Lucas Verney 2023-08-06 14:51:32 +02:00
parent 5c5d1dca02
commit 728bce186f

View File

@ -307,7 +307,7 @@ var app = new Vue({
},
preloadItem(index) {
var searchItem = this.searchItems[index];
fetch(`${JUSTWATCH_API_DOMAIN}/content/titles/${searchItem.type}/${searchItem.id}/locale/fr-FR?language=fr`, { credentials : "include" })
fetch(`${JUSTWATCH_API_DOMAIN}/content/titles/${searchItem.type}/${searchItem.id}/locale/fr_FR?language=fr`, { credentials : "include" })
.then(response => response.json())
.then(response => {
this.seasons = {};