diff options
Diffstat (limited to 'cmd/generate/gerrit.go')
-rw-r--r-- | cmd/generate/gerrit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/generate/gerrit.go b/cmd/generate/gerrit.go index c8837fc..d2e9b8b 100644 --- a/cmd/generate/gerrit.go +++ b/cmd/generate/gerrit.go @@ -10,8 +10,8 @@ import ( // httpGetGerritJSON is like [httpGetJSON], but // https://gerrit-review.googlesource.com/Documentation/rest-api.html#output -func httpGetGerritJSON(u string, out any) error { - str, err := httpGet(u) +func httpGetGerritJSON(u string, hdr map[string]string, out any) error { + str, err := httpGet(u, hdr) if err != nil { return err } |