Skip to content

Commit

Permalink
[api] Bugfix to keep summaries and activities directory in config aft…
Browse files Browse the repository at this point in the history
…er Strava refresh
  • Loading branch information
jylitalo committed Dec 28, 2024
1 parent a7115c6 commit 5c14157
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ func (cfg *Config) Refresh() (*Config, bool, error) {
}
tokens.ClientID = cfg.ClientID
tokens.ClientSecret = cfg.ClientSecret
tokens.Activities = cfg.Activities
tokens.Summaries = cfg.Summaries
return &tokens, true, nil
}

Expand Down

0 comments on commit 5c14157

Please sign in to comment.