{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitica/issues/9466","repository_url":"https://api.github.com/repos/HabitRPG/habitica","labels_url":"https://api.github.com/repos/HabitRPG/habitica/issues/9466/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/issues/9466/comments","events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/9466/events","html_url":"https://github.com/HabitRPG/habitica/pull/9466","id":273460467,"number":9466,"title":"Check previous gear owned before purchasing next level gear (fixes #9071)","user":{"login":"matchajune","id":6742066,"avatar_url":"https://avatars1.githubusercontent.com/u/6742066?v=4","gravatar_id":"","url":"https://api.github.com/users/matchajune","html_url":"https://github.com/matchajune","followers_url":"https://api.github.com/users/matchajune/followers","following_url":"https://api.github.com/users/matchajune/following{/other_user}","gists_url":"https://api.github.com/users/matchajune/gists{/gist_id}","starred_url":"https://api.github.com/users/matchajune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matchajune/subscriptions","organizations_url":"https://api.github.com/users/matchajune/orgs","repos_url":"https://api.github.com/users/matchajune/repos","events_url":"https://api.github.com/users/matchajune/events{/privacy}","received_events_url":"https://api.github.com/users/matchajune/received_events","type":"User","site_admin":false},"labels":[{"id":192734531,"url":"https://api.github.com/repos/HabitRPG/habitica/labels/status:%20pr:%20with%20author:%20needs%20work","name":"status: pr: with author: needs work","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-13T15:02:31Z","updated_at":"2017-11-29T18:44:13Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/9466","html_url":"https://github.com/HabitRPG/habitica/pull/9466","diff_url":"https://github.com/HabitRPG/habitica/pull/9466.diff","patch_url":"https://github.com/HabitRPG/habitica/pull/9466.patch"},"body":"Hello everyone!\r\n\r\nI would like to have another set of eyes review my code before submitting my PR for review!\r\n\r\nThanks!\r\n\r\n[x]: Fixes https://github.com/HabitRPG/habitica/issues/9071\r\n\r\n### Changes\r\n[x]: Add validation if gear level isn't 0 AND user has the previous gear. It gear level is 0, user can purchase the gear and no check for previous gear is necessary.\r\n\r\n----\r\nUUID: dd16c270-1d6d-44bd-b4f9-737342e79be6"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments/347956503","html_url":"https://github.com/HabitRPG/habitica/pull/9466#issuecomment-347956503","issue_url":"https://api.github.com/repos/HabitRPG/habitica/issues/9466","id":347956503,"user":{"login":"matchajune","id":6742066,"avatar_url":"https://avatars1.githubusercontent.com/u/6742066?v=4","gravatar_id":"","url":"https://api.github.com/users/matchajune","html_url":"https://github.com/matchajune","followers_url":"https://api.github.com/users/matchajune/followers","following_url":"https://api.github.com/users/matchajune/following{/other_user}","gists_url":"https://api.github.com/users/matchajune/gists{/gist_id}","starred_url":"https://api.github.com/users/matchajune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matchajune/subscriptions","organizations_url":"https://api.github.com/users/matchajune/orgs","repos_url":"https://api.github.com/users/matchajune/repos","events_url":"https://api.github.com/users/matchajune/events{/privacy}","received_events_url":"https://api.github.com/users/matchajune/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T18:44:13Z","updated_at":"2017-11-29T18:44:13Z","author_association":"NONE","body":"Hello @paglias ,\r\n\r\nThe check is only being done for indeces that are integers. May you please rerun the TravisCI test since the reason why it failed was independent to the PR changes?\r\n\r\nThanks!!"}}
{"actor":{"display_login":"matchajune"}}