Actualiser js/admin.js

This commit is contained in:
2026-06-30 15:32:12 +02:00
parent e0958ab4fb
commit 167ab9f340
+2
View File
@@ -453,6 +453,8 @@ function handleVideothequeUpload(input) {
// ✅ Lots de 1 seul pour éviter le blocage Blu-ray.com
for (let i = 0; i < items.length; 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`, {
method: 'POST',
headers: { 'Authorization': localStorage.getItem('token'), 'Content-Type': 'application/json' },