Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
Patch user-agent bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qasim committed Apr 14, 2016
1 parent 21536d3 commit 7bdad15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cobalt-uoft",
"version": "0.4.1",
"version": "0.4.2",
"description": "A collection of open data APIs that allow anyone to interface with public information from the University of Toronto.",
"main": "lib/index.js",
"engines": {
Expand Down
1 change: 1 addition & 0 deletions src/db/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ db.check = (callback) => {
host: 'api.github.com',
port: 443,
path: '/repos/cobalt-uoft/datasets/git/refs/heads/master',
headers: {'user-agent': 'cobalt-uoft/0.4.2'}
}

https.get(options, res => {
Expand Down

0 comments on commit 7bdad15

Please sign in to comment.