From b503437b10f83379d8959c59d807c1e22310e9d9 Mon Sep 17 00:00:00 2001 From: Matt Gleich Date: Tue, 3 Sep 2024 00:43:20 -0400 Subject: [PATCH] feat: log only new access token Signed-off-by: Matt Gleich --- internal/apis/strava/tokens.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/apis/strava/tokens.go b/internal/apis/strava/tokens.go index 2d4d8ca..3ea64ba 100644 --- a/internal/apis/strava/tokens.go +++ b/internal/apis/strava/tokens.go @@ -74,7 +74,5 @@ func (t *tokens) refreshIfNeeded() { os.Setenv("STRAVA_REFRESH_TOKEN_EXPIRATION", strconv.FormatInt(tokens.ExpiresAt, 10)) *t = tokens - lumber.Done("loaded new strava token data") - lumber.Info("strava access token:", t.Access) - lumber.Info("strava refresh token:", t.Refresh) + lumber.Done("loaded new strava access token:", t.Access) }