{"action":"opened","issue":{"url":"https://api.github.com/repos/ipfs/js-ipfs-repo/issues/12","labels_url":"https://api.github.com/repos/ipfs/js-ipfs-repo/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/js-ipfs-repo/issues/12/comments","events_url":"https://api.github.com/repos/ipfs/js-ipfs-repo/issues/12/events","html_url":"https://github.com/ipfs/js-ipfs-repo/issues/12","id":121776403,"number":12,"title":"Sample code for block read","user":{"login":"travisperson","id":165274,"avatar_url":"https://avatars.githubusercontent.com/u/165274?v=3","gravatar_id":"","url":"https://api.github.com/users/travisperson","html_url":"https://github.com/travisperson","followers_url":"https://api.github.com/users/travisperson/followers","following_url":"https://api.github.com/users/travisperson/following{/other_user}","gists_url":"https://api.github.com/users/travisperson/gists{/gist_id}","starred_url":"https://api.github.com/users/travisperson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisperson/subscriptions","organizations_url":"https://api.github.com/users/travisperson/orgs","repos_url":"https://api.github.com/users/travisperson/repos","events_url":"https://api.github.com/users/travisperson/events{/privacy}","received_events_url":"https://api.github.com/users/travisperson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-11T19:31:28Z","updated_at":"2015-12-11T19:31:28Z","closed_at":null,"body":"```javascript\r\nrepo.blocks.read('12200007d4e3a319cd8c7c9979280e150fc5dbaae1ce54e790f84ae5fd3c3c1a0475', function (buff, err) {\r\n  console.log(err)\r\n})\r\n```\r\n\r\nWhile this basically works as intended (to print out the data of the block), the variable names are confusing and probably should be switched.\r\n"}}