Merge pull request #15 from evenamonkey/master
Added user agent. its now required for anonymous github api access.
This commit is contained in:
commit
60d44110d9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue