diff --git a/bin/altv-pkg.js b/bin/altv-pkg.js index 58998dc..77f30e1 100644 --- a/bin/altv-pkg.js +++ b/bin/altv-pkg.js @@ -115,6 +115,7 @@ async function fetchJsonData(url, headers) { throw new Error('Failed to download latest') } + return response.json(); } async function start() { diff --git a/package.json b/package.json index f4d3d3e..27d6b69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "altv-pkg", - "version": "2.7.3", + "version": "2.7.4", "description": "Install alt:V Binaries Quickly", "main": "bin/index.js", "author": "Stuyk & alt:V Team",