Skip to content

Commit

Permalink
feat: log only new access token
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Sep 3, 2024
1 parent 4327181 commit b503437
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/apis/strava/tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit b503437

Please sign in to comment.