Skip to content

Commit

Permalink
docs: fix small typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Nov 5, 2024
1 parent 9fceacc commit dba84f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/apis/strava/tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func loadTokens() tokens {
}

func (t *tokens) refreshIfNeeded() {
// add 30 to ensure that token doesn't expire in the next 60 seconds
// add 60 to ensure that token doesn't expire in the next 60 seconds
if t.ExpiresAt+60 >= time.Now().Unix() {
return
}
Expand Down

0 comments on commit dba84f3

Please sign in to comment.