{"action":"created","issue":{"url":"https://api.github.com/repos/stripe/stripe-node/issues/148","labels_url":"https://api.github.com/repos/stripe/stripe-node/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/stripe/stripe-node/issues/148/comments","events_url":"https://api.github.com/repos/stripe/stripe-node/issues/148/events","html_url":"https://github.com/stripe/stripe-node/pull/148","id":58455507,"number":148,"title":"Check if a callback is passed to Retrieve Customer","user":{"login":"matthewarkin","id":1103529,"avatar_url":"https://avatars.githubusercontent.com/u/1103529?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewarkin","html_url":"https://github.com/matthewarkin","followers_url":"https://api.github.com/users/matthewarkin/followers","following_url":"https://api.github.com/users/matthewarkin/following{/other_user}","gists_url":"https://api.github.com/users/matthewarkin/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewarkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewarkin/subscriptions","organizations_url":"https://api.github.com/users/matthewarkin/orgs","repos_url":"https://api.github.com/users/matthewarkin/repos","events_url":"https://api.github.com/users/matthewarkin/events{/privacy}","received_events_url":"https://api.github.com/users/matthewarkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-21T11:03:38Z","updated_at":"2015-02-21T20:00:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stripe/stripe-node/pulls/148","html_url":"https://github.com/stripe/stripe-node/pull/148","diff_url":"https://github.com/stripe/stripe-node/pull/148.diff","patch_url":"https://github.com/stripe/stripe-node/pull/148.patch"},"body":"If a parameter is passed to Retrieve customer that isn't an\r\nauth key, the library incorrectly assumed it was a account id.\r\n\r\nUpdated the check to ensure that a function could be passed in as\r\na sole argument and it would retrieve the account for the pre-set\r\napi key.\r\n\r\nFixes #147"},"comment":{"url":"https://api.github.com/repos/stripe/stripe-node/issues/comments/75389739","html_url":"https://github.com/stripe/stripe-node/pull/148#issuecomment-75389739","issue_url":"https://api.github.com/repos/stripe/stripe-node/issues/148","id":75389739,"user":{"login":"michelle","id":928757,"avatar_url":"https://avatars.githubusercontent.com/u/928757?v=3","gravatar_id":"","url":"https://api.github.com/users/michelle","html_url":"https://github.com/michelle","followers_url":"https://api.github.com/users/michelle/followers","following_url":"https://api.github.com/users/michelle/following{/other_user}","gists_url":"https://api.github.com/users/michelle/gists{/gist_id}","starred_url":"https://api.github.com/users/michelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelle/subscriptions","organizations_url":"https://api.github.com/users/michelle/orgs","repos_url":"https://api.github.com/users/michelle/repos","events_url":"https://api.github.com/users/michelle/events{/privacy}","received_events_url":"https://api.github.com/users/michelle/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T20:00:37Z","updated_at":"2015-02-21T20:00:37Z","body":"Ah, sorry, you mean retrieve account, right?\r\n\r\nGreat catch!"}}