Skip to content

Commit

Permalink
Added missing data parameter to the internal get function that's ca…
Browse files Browse the repository at this point in the history
…lled in `stripe.token.retrieve`.
  • Loading branch information
xavi- committed Nov 13, 2011
1 parent 99da0a8 commit 020bf02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Expand Up @@ -143,7 +143,7 @@ module.exports = function (api_key, options) {
post("/v1/tokens", data, cb)
},
retrieve: function (token_id, cb) {
get("/v1/tokens/" + token_id, cb)
get("/v1/tokens/" + token_id, {}, cb)
}
},
};
Expand Down

0 comments on commit 020bf02

Please sign in to comment.