Skip to content

Commit

Permalink
Add required User-Agent header to GitHub requests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBesada committed Nov 26, 2013
1 parent c973b8e commit 8c4709d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/lib/github.coffee
Expand Up @@ -7,6 +7,8 @@ class GitHub
url: "https://api.github.com/gists/#{gistID}" +
"?client_id=#{githubAuth.clientID}" +
"&client_secret=#{githubAuth.clientSecret}"
headers:
"User-Agent": "Backtick/1.0"
json: true
, (err, res, body) ->
return callback err if err
Expand Down

0 comments on commit 8c4709d

Please sign in to comment.