From a140aae7fdf3c8666d3eea7d767dba530045dcd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= Date: Mon, 20 Apr 2026 13:10:50 +0200 Subject: [PATCH] apply go fix --- api/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client_test.go b/api/client_test.go index 240db44..2961d94 100644 --- a/api/client_test.go +++ b/api/client_test.go @@ -24,7 +24,7 @@ func testClient() (*api.Client, func()) { httpmock.RegisterResponder("POST", "https://id.sophos.com/api/v2/oauth2/token", func(req *http.Request) (*http.Response, error) { - body := map[string]interface{}{ + body := map[string]any{ "access_token": "", "errorCode": "success", "expires_in": 3600, @@ -38,7 +38,7 @@ func testClient() (*api.Client, func()) { httpmock.RegisterResponder("GET", "https://api.central.sophos.com/whoami/v1", func(req *http.Request) (*http.Response, error) { - body := map[string]interface{}{ + body := map[string]any{ "id": "57ca9a6b-885f-4e36-95ec-290548c26059", "idType": "tenant", "apiHosts": map[string]string{