Skip to content

Commit c0459d7

Browse files
committed
Update GitHub strategy in the README
fixes #64
1 parent 094966b commit c0459d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ defmodule GitHub do
126126

127127
def get_token(client, params, headers) do
128128
client
129+
|> put_param(:client_secret, client.client_secret)
129130
|> put_header("accept", "application/json")
130131
|> OAuth2.Strategy.AuthCode.get_token(params, headers)
131132
end

0 commit comments

Comments
 (0)