chore: fix content type header naming

This commit is contained in:
Louis Seubert 2025-10-05 20:25:53 +02:00
commit 5fc3c9d507
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD

View file

@ -44,7 +44,7 @@ func NewGitHub(client ApiClient) *GitHub {
} }
func HasContentType(r *http.Response, mimetype string) bool { func HasContentType(r *http.Response, mimetype string) bool {
contentType := r.Header.Get("Content-type") contentType := r.Header.Get("content-type")
if contentType == "" { if contentType == "" {
return mimetype == "application/octet-stream" return mimetype == "application/octet-stream"
} }