{"action":"created","issue":{"url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/issues/16","labels_url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/issues/16/comments","events_url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/issues/16/events","html_url":"https://github.com/PunchThrough/Bean-Android-SDK/pull/16","id":123796699,"number":16,"title":"Fix issue with reading the wrong scratch bank","user":{"login":"loune","id":246062,"avatar_url":"https://avatars.githubusercontent.com/u/246062?v=3","gravatar_id":"","url":"https://api.github.com/users/loune","html_url":"https://github.com/loune","followers_url":"https://api.github.com/users/loune/followers","following_url":"https://api.github.com/users/loune/following{/other_user}","gists_url":"https://api.github.com/users/loune/gists{/gist_id}","starred_url":"https://api.github.com/users/loune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loune/subscriptions","organizations_url":"https://api.github.com/users/loune/orgs","repos_url":"https://api.github.com/users/loune/repos","events_url":"https://api.github.com/users/loune/events{/privacy}","received_events_url":"https://api.github.com/users/loune/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-24T12:04:40Z","updated_at":"2015-12-29T06:41:41Z","closed_at":"2015-12-29T00:06:25Z","pull_request":{"url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/pulls/16","html_url":"https://github.com/PunchThrough/Bean-Android-SDK/pull/16","diff_url":"https://github.com/PunchThrough/Bean-Android-SDK/pull/16.diff","patch_url":"https://github.com/PunchThrough/Bean-Android-SDK/pull/16.patch"},"body":"There's an issue in the SDK where a call to Bean.readScratchData will always return data from the requested bank number minus one. For example, Bean.readScratchData(ScratchBank.BANK_2) will return the data for scratch bank 1 and so forth. This PR fixes this issue and also adds a unit test for writing and reading to scratch banks."},"comment":{"url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/issues/comments/167730885","html_url":"https://github.com/PunchThrough/Bean-Android-SDK/pull/16#issuecomment-167730885","issue_url":"https://api.github.com/repos/PunchThrough/Bean-Android-SDK/issues/16","id":167730885,"user":{"login":"mplewis","id":1829094,"avatar_url":"https://avatars.githubusercontent.com/u/1829094?v=3","gravatar_id":"","url":"https://api.github.com/users/mplewis","html_url":"https://github.com/mplewis","followers_url":"https://api.github.com/users/mplewis/followers","following_url":"https://api.github.com/users/mplewis/following{/other_user}","gists_url":"https://api.github.com/users/mplewis/gists{/gist_id}","starred_url":"https://api.github.com/users/mplewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mplewis/subscriptions","organizations_url":"https://api.github.com/users/mplewis/orgs","repos_url":"https://api.github.com/users/mplewis/repos","events_url":"https://api.github.com/users/mplewis/events{/privacy}","received_events_url":"https://api.github.com/users/mplewis/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T06:41:41Z","updated_at":"2015-12-29T06:41:41Z","body":":purse: "}}