Skip to content

Commit

Permalink
fix: add space after Bearer for detailed activity request
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Oct 10, 2024
1 parent 4aeb7c8 commit 7b32a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/apis/strava/activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func fetchActivityDetails(id uint64, tokens tokens) (detailedStravaActivity, err
lumber.Error(err, "creating request failed")
return detailedStravaActivity{}, err
}
req.Header.Set("Authorization", "Bearer"+tokens.Access)
req.Header.Set("Authorization", "Bearer "+tokens.Access)

resp, err := http.DefaultClient.Do(req)
if err != nil {
Expand Down

0 comments on commit 7b32a10

Please sign in to comment.