{"action":"closed","issue":{"url":"https://api.github.com/repos/thomasdavis/pinjs/issues/5","labels_url":"https://api.github.com/repos/thomasdavis/pinjs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/thomasdavis/pinjs/issues/5/comments","events_url":"https://api.github.com/repos/thomasdavis/pinjs/issues/5/events","html_url":"https://github.com/thomasdavis/pinjs/issues/5","id":55749580,"number":5,"title":"little API improvement","user":{"login":"pociej","id":3854675,"avatar_url":"https://avatars.githubusercontent.com/u/3854675?v=3","gravatar_id":"","url":"https://api.github.com/users/pociej","html_url":"https://github.com/pociej","followers_url":"https://api.github.com/users/pociej/followers","following_url":"https://api.github.com/users/pociej/following{/other_user}","gists_url":"https://api.github.com/users/pociej/gists{/gist_id}","starred_url":"https://api.github.com/users/pociej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pociej/subscriptions","organizations_url":"https://api.github.com/users/pociej/orgs","repos_url":"https://api.github.com/users/pociej/repos","events_url":"https://api.github.com/users/pociej/events{/privacy}","received_events_url":"https://api.github.com/users/pociej/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pociej","id":3854675,"avatar_url":"https://avatars.githubusercontent.com/u/3854675?v=3","gravatar_id":"","url":"https://api.github.com/users/pociej","html_url":"https://github.com/pociej","followers_url":"https://api.github.com/users/pociej/followers","following_url":"https://api.github.com/users/pociej/following{/other_user}","gists_url":"https://api.github.com/users/pociej/gists{/gist_id}","starred_url":"https://api.github.com/users/pociej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pociej/subscriptions","organizations_url":"https://api.github.com/users/pociej/orgs","repos_url":"https://api.github.com/users/pociej/repos","events_url":"https://api.github.com/users/pociej/events{/privacy}","received_events_url":"https://api.github.com/users/pociej/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-01-28T12:19:52Z","updated_at":"2015-02-10T17:35:27Z","closed_at":"2015-02-10T17:35:27Z","body":"@thomasdavis \r\n\r\nI think that we should make a little change in API now it is : \r\npin.method(options,function(res){}); \r\nso when user want access to data returned by pin must use res.body.response. \r\nOn my branch i changed it to : \r\npin.method(options,function(err,res){}) , where res contains customer/transfer/cardetc.. data returned by pin. "}}