Skip to content

Commit

Permalink
Remove unnecessary header
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan committed Oct 1, 2016
1 parent 8247b8d commit fdf8ef7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion linebot/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ func (client *Client) url(endpoint string) string {
}

func (client *Client) do(ctx context.Context, req *http.Request) (*http.Response, error) {
req.Header.Set("X-LINE-ChannelToken", client.channelToken)
req.Header.Set("Authorization", "Bearer "+client.channelToken)
req.Header.Set("User-Agent", "LINE-BotSDK-Go/"+version)
if ctx != nil {
Expand Down

0 comments on commit fdf8ef7

Please sign in to comment.