Skip to content

Commit

Permalink
Don't cache file info requests. Closes #10.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingercomp committed Nov 16, 2017
1 parent c2b64a7 commit 69e2a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gist/gist.lua
Expand Up @@ -165,7 +165,7 @@ local function getFileList(id)
end

local function getFileInfo(id, filename)
local response = requestUrl(format{base=URLS.basic, id=id}, nil, true, {cache=true, decode=true, timeout=100})
local response = requestUrl(format{base=URLS.basic, id=id}, nil, true, {cache=false, decode=true, timeout=100})
return response.files[filename]
end

Expand Down

0 comments on commit 69e2a78

Please sign in to comment.