File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1062,7 +1062,7 @@ local animTime = 0.2
10621062local animFrames = 8
10631063
10641064local 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
10771077local function createTree (page )
10781078local 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
You can’t perform that action at this time.
0 commit comments