Skip to content

Loading…

missing null parameter at Venues.getVenue #2

Merged
merged 1 commit into from

2 participants

@tuler

No description provided.

@clintandrewhall clintandrewhall merged commit 8785032 into clintandrewhall:master
@clintandrewhall

Thanks for that! I'll be releasing to NPM later today.

Do you have any suggestions on how to improve the testing package to catch this kind of error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 5, 2011
  1. @tuler
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/node-foursquare.js
View
2 lib/node-foursquare.js
@@ -426,7 +426,7 @@ var Foursquare = function(config) {
callback(new Error("getVenue: venueId is required."));
return;
}
- callApi("/venues/" + venueId, accessToken, "venue", callback);
+ callApi("/venues/" + venueId, accessToken, "venue", null, callback);
};
/**
Something went wrong with that request. Please try again.