From 597eb5dd0d2ca8e44f6745484dba67c008efd765 Mon Sep 17 00:00:00 2001 From: "cloudquery-ci[bot]" <271027272+cloudquery-ci[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 02:41:55 +0000 Subject: [PATCH 1/2] fix(deps): Update go module directive to v1.27.1 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 51214344aa3b1db0471b7d3674ac73700bfe403e Mon Sep 17 00:00:00 2001 From: erezrokah Date: Thu, 1 Oct 2026 14:35:40 +0300 Subject: [PATCH 2/2] fix: Use pointer receiver for TokenError.Error to satisfy Go 1.27 vet --- auth/token_error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }