Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
fix: Remove extra string from formatted auth header (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeirimpan authored and mitsuhiko committed Apr 30, 2018
1 parent 0df589c commit 263040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func (client *Client) SetDSN(dsn string) error {
if hasSecretKey {
client.authHeader = fmt.Sprintf("Sentry sentry_version=4, sentry_key=%s, sentry_secret=%s", publicKey, secretKey)
} else {
client.authHeader = fmt.Sprintf("Sentry sentry_version=4, sentry_key=%s", publicKey, secretKey)
client.authHeader = fmt.Sprintf("Sentry sentry_version=4, sentry_key=%s", publicKey)
}

return nil
Expand Down

0 comments on commit 263040c

Please sign in to comment.