diff --git a/internal/fetch/fetch.go b/internal/fetch/fetch.go index 44ab63d..23a2d4a 100644 --- a/internal/fetch/fetch.go +++ b/internal/fetch/fetch.go @@ -42,7 +42,7 @@ func (f *Fetch) Do(ctx context.Context) (*nightscout.Properties, error) { } // Fetch JSON - req, err := http.NewRequestWithContext(ctx, "GET", f.url.String(), nil) + req, err := http.NewRequestWithContext(ctx, http.MethodGet, f.url.String(), nil) if err != nil { return nil, err }