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

Commit 263040c

Browse files
joeirimpanmitsuhiko
authored andcommitted
fix: Remove extra string from formatted auth header (#188)
1 parent 0df589c commit 263040c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ func (client *Client) SetDSN(dsn string) error {
461461
if hasSecretKey {
462462
client.authHeader = fmt.Sprintf("Sentry sentry_version=4, sentry_key=%s, sentry_secret=%s", publicKey, secretKey)
463463
} else {
464-
client.authHeader = fmt.Sprintf("Sentry sentry_version=4, sentry_key=%s", publicKey, secretKey)
464+
client.authHeader = fmt.Sprintf("Sentry sentry_version=4, sentry_key=%s", publicKey)
465465
}
466466

467467
return nil

0 commit comments

Comments
 (0)