Anglais Fetch Info.js + Removed Files Check

This commit is contained in:
MasterAcnolo
2025-11-19 18:24:50 +01:00
parent f8e3bc843d
commit 4e0fe29c20
2 changed files with 2 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ async function fetchVideoInfo(url) {
body: new URLSearchParams({ url }),
});
if (!res.ok) return { error: `Erreur Lors de la récupération des informations` };
if (!res.ok) return { error: `An Error occured when fetching info` };
const data = await res.json();
if (!data) return { error: "Données manquantes" };