diff --git a/js/projet_detail.js b/js/projet_detail.js index 6cf46d4..40d3d26 100644 --- a/js/projet_detail.js +++ b/js/projet_detail.js @@ -163,9 +163,7 @@ document.addEventListener("DOMContentLoaded", async () => { alert('Nouvelle vidéo enregistrée :\nNom : ' + nameVideo + '\nRésolution : ' + videoResolution + '\nDurée : ' + videoDuration + ' secondes'); - }).then((data)=>{ - console.log(data); - console.log(" ") + }).then(()=>{ getDataProjectVideosFromApi(projectId).then((data)=>{ idVideo = data[data.length-1].id console.log(idVideo)