Merge pull request #15 from evenamonkey/master

Added user agent. its now required for anonymous github api access.
This commit is contained in:
Radek Stepan 2013-05-03 12:32:39 -07:00
commit 60d44110d9
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ Issues =
host: "api.github.com" host: "api.github.com"
method: "GET" method: "GET"
path: path path: path
headers:
'User-Agent': 'Scrum Burndown (1)'
https.request(options, (response) -> https.request(options, (response) ->
if response.statusCode is 200 if response.statusCode is 200