From bee8097546877223fa89370f4b0a50b5c9c6b1a9 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 4 Mar 2026 14:53:11 +0000 Subject: [PATCH] Stop creating oauth token debug files --- background/arcgis.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/background/arcgis.go b/background/arcgis.go index e4507e0e..49c3c232 100644 --- a/background/arcgis.go +++ b/background/arcgis.go @@ -858,8 +858,6 @@ func doTokenRequest(ctx context.Context, form url.Values) (*OAuthTokenResponse, defer resp.Body.Close() bodyBytes, err := io.ReadAll(resp.Body) log.Info().Int("status", resp.StatusCode).Msg("Token request") - filename := newTimestampedFilename("token", ".json") - saveResponse(bodyBytes, filename) if resp.StatusCode >= http.StatusBadRequest { if err != nil { return nil, fmt.Errorf("Got status code %d and failed to read response body: %w", resp.StatusCode, err)