Skip to content

Commit 8440d1f

Browse files
committed
fix(client/auth): Auth changed to Bearer
1 parent 54ad27d commit 8440d1f

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
@@ -58,7 +58,7 @@ type Client struct {
5858

5959
// TokenAuth sets authorization headers for subsequent requests.
6060
func (c *Client) TokenAuth(token string) *Client {
61-
c.clientTransport.header.Set("Authorization", "Basic "+token)
61+
c.clientTransport.header.Set("Authorization", "Bearer "+token)
6262
c.clientTransport.header.Set("apikey", token)
6363
return c
6464
}

0 commit comments

Comments
 (0)