diff --git a/backend.go b/backend.go index 1769771..df0113a 100644 --- a/backend.go +++ b/backend.go @@ -48,7 +48,7 @@ func (b *APIKeyBackend) Request(ctx context.Context, method, path string, payloa } req.Header[headerContentType] = []string{contentTypeJSON} - req.Header[headerAPIKey] = []string{contentTypeJSON} + req.Header[headerAPIKey] = []string{b.key} resp, err := b.client.Do(req) if err != nil {