fixed helper log

This commit is contained in:
Viet Huynh
2023-09-09 23:23:26 +07:00
parent faad7d12b3
commit 77b6ac7dfc
+1 -1
View File
@@ -21,7 +21,7 @@ const request = async (url, options) => {
throw new Error(`HTTP error! Status: ${response.status}`); throw new Error(`HTTP error! Status: ${response.status}`);
} }
const data = response.json(); const data = await response.json();
console.log(data.success); console.log(data.success);