Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect spelling of resultObj.error #16

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/node-foursquare.js
Expand Up @@ -93,7 +93,7 @@ module.exports = function(config) {
try {
var resultObj = JSON.parse(result);
if(resultObj.error) {
callback({message: esultObj.error});
callback({message: resultObj.error});
}
else if(!resultObj.access_token) {
callback({message: 'access_token not present, got ' + result});
Expand Down
6 changes: 3 additions & 3 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "node-foursquare",
"name": "node-foursquare-plaid",
"description": "Fault-tolerant Foursquare API v2 wrapper for Node JS.",
"version": "0.2.0",
"version": "0.0.1",
"main": "index.js",
"keywords": [
"node-foursquare",
Expand All @@ -15,7 +15,7 @@
],
"repository": {
"type": "git",
"url": "git://github.com/clintandrewhall/node-foursquare.git"
"url": "git://github.com/whockey/node-foursquare.git"
},
"bugs": {
"url": "https://github.com/clintandrewhall/node-foursquare/issues"
Expand Down