diff --git a/lib/helpers.js b/lib/helpers.js index bc724a1..c45f99e 100644 --- a/lib/helpers.js +++ b/lib/helpers.js @@ -21,7 +21,7 @@ const request = async (url, options) => { throw new Error(`HTTP error! Status: ${response.status}`); } - const data = response.json(); + const data = await response.json(); console.log(data.success);