diff --git a/assets/script.js b/assets/script.js index 7394445..c516621 100644 --- a/assets/script.js +++ b/assets/script.js @@ -603,7 +603,7 @@ async function getFileList() { } async function listFiles() { - const fileList = getFileList(); + const fileList = await getFileList(); if(fileList){ displayList(fileList, "filelist", deleteFile); }