Skip to content


missing null parameter at Venues.getVenue #2

merged 1 commit into from

2 participants


No description provided.

@clintandrewhall clintandrewhall merged commit 8785032 into clintandrewhall:master

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
2 lib/node-foursquare.js
@@ -426,7 +426,7 @@ var Foursquare = function(config) {
callback(new Error("getVenue: venueId is required."));
- callApi("/venues/" + venueId, accessToken, "venue", callback);
+ callApi("/venues/" + venueId, accessToken, "venue", null, callback);
Something went wrong with that request. Please try again.