Skip to content

Commit d30dda6

Browse files
authored
Update basaltPackageManager.lua
1 parent 83a27fb commit d30dda6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

basaltPackageManager.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ local animTime = 0.2
10621062
local animFrames = 8
10631063

10641064
local function download(url, file)
1065-
local httpReq = http.get(url, _G._GIT_API_KEY and {Authorization = token.." ".._G._GIT_API_KEY})
1065+
local httpReq = http.get(url, _G._GIT_API_KEY and {Authorization = "token ".._G._GIT_API_KEY})
10661066
if(httpReq~=nil)then
10671067
local content = httpReq.readAll()
10681068
if not content then
@@ -1076,7 +1076,7 @@ end
10761076

10771077
local function createTree(page)
10781078
local tree = {}
1079-
local request = http.get(page, _G._GIT_API_KEY and {Authorization = basaltGithubToken.." ".._G._GIT_API_KEY})
1079+
local request = http.get(page, _G._GIT_API_KEY and {Authorization = "token ".._G._GIT_API_KEY})
10801080
if not(request)then return end
10811081
for k,v in pairs(textutils.unserialiseJSON(request.readAll()).tree)do
10821082
if(v.type=="blob")then

0 commit comments

Comments
 (0)