Skip to content

Commit

Permalink
dryad changed the lookup keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tlnagy committed May 21, 2024
1 parent c3d8d8a commit b851220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/dryad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ end

function download(root, versionpath, dst, filename, headers)
fileinfo = getfilepath(root, versionpath, filename, headers)
fileurl = fileinfo["_links"]["stash:file-download"]["href"]
fileurl = fileinfo["_links"]["stash:download"]["href"]
mkpath(dst)
HTTP.download(root * fileurl, joinpath(dst, filename), headers; update_period = 10)
end
Expand Down

0 comments on commit b851220

Please sign in to comment.