diff --git a/auth/token_error.go b/auth/token_error.go index 465ea6c..5437f5f 100644 --- a/auth/token_error.go +++ b/auth/token_error.go @@ -14,7 +14,7 @@ type TokenError struct { } `json:"error"` } -func (t TokenError) Error() string { +func (t *TokenError) Error() string { return string(t.Body) } diff --git a/go.mod b/go.mod index 050e063..ed99153 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cloudquery/cloudquery-platform-api-go/v2 -go 1.26.5 +go 1.27.1 require ( github.com/adrg/xdg v0.5.3