File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ declare variable $github:raw-usercontent-endpoint := "https://raw.githubusercont
221
221
: https://raw.githubusercontent.com/<owner>/<repo>/<sha>/<path>
222
222
:)
223
223
declare %private function github:get-blob ($config as map (*), $filename as xs:string, $sha as xs:string) {
224
- if (not (starts-with ($config?base-url , "https://api.github.com" ))) then (
224
+ if (not (starts-with ($config?baseurl , "https://api.github.com" ))) then (
225
225
(: for GitHub enterprise we have to query for the download url, this might return the contents directly :)
226
226
let $blob-url := github:repo-url ($config) || "/contents/" || escape-html-uri ($filename) || "?ref=" || $sha
227
227
let $json := github:request-json ($blob-url, $config?token)
You can’t perform that action at this time.
0 commit comments