Actualiser js/admin.js
This commit is contained in:
@@ -453,6 +453,8 @@ function handleVideothequeUpload(input) {
|
|||||||
// ✅ Lots de 1 seul pour éviter le blocage Blu-ray.com
|
// ✅ Lots de 1 seul pour éviter le blocage Blu-ray.com
|
||||||
for (let i = 0; i < items.length; i += 1) {
|
for (let i = 0; i < items.length; i += 1) {
|
||||||
const batch = items.slice(i, i + 1);
|
const batch = items.slice(i, i + 1);
|
||||||
|
// ✅ AJOUTEZ CECI POUR VOIR QUEL FILM BLOQUE
|
||||||
|
console.log("Tentative d'import de : ", batch[0].title);
|
||||||
const res = await fetch(`${API_URL}?action=import_batch`, {
|
const res = await fetch(`${API_URL}?action=import_batch`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Authorization': localStorage.getItem('token'), 'Content-Type': 'application/json' },
|
headers: { 'Authorization': localStorage.getItem('token'), 'Content-Type': 'application/json' },
|
||||||
|
|||||||
Reference in New Issue
Block a user