From 5fc3c9d50709777cafeab81a98698e27cadbc43c Mon Sep 17 00:00:00 2001 From: Louis Seubert Date: Sun, 5 Oct 2025 20:25:53 +0200 Subject: [PATCH] chore: fix content type header naming --- github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github.go b/github.go index d3a9498..75635b7 100644 --- a/github.go +++ b/github.go @@ -44,7 +44,7 @@ func NewGitHub(client ApiClient) *GitHub { } func HasContentType(r *http.Response, mimetype string) bool { - contentType := r.Header.Get("Content-type") + contentType := r.Header.Get("content-type") if contentType == "" { return mimetype == "application/octet-stream" }