Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Incorrect spelling of resultObj.error #16

Closed
wants to merge 2 commits into from

2 participants

@whockey

Incorrect spelling of resultObj.error. esultObj.error -> resultObj.error

@clintandrewhall

I can't merge this pull request with the package.json file as written. I'll make this change and ship it with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 22, 2013
  1. @whockey

    Incorrect variable spelling

    whockey authored
  2. @whockey

    Updating package.json

    whockey authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +1 −1  lib/node-foursquare.js
  2. +3 −3 package.json
View
2  lib/node-foursquare.js
@@ -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});
View
6 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",
@@ -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"
Something went wrong with that request. Please try again.