{"action":"created","comment":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments/202550035","pull_request_review_id":137274086,"id":202550035,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjU1MDAzNQ==","diff_hunk":"@@ -317,14 +317,17 @@ export default {\n   methods: {\n     async shown () {\n       this.groups = await this.$store.dispatch('guilds:getMyGuilds');\n-      await this.$store.dispatch('party:getParty');\n-      const party = this.$store.state.party.data;\n-      if (party._id) {\n-        this.groups.push({\n-          name: party.name,\n-          _id: party._id,\n-          privacy: 'private',\n-        });\n+\n+      if (this.user.party) {","path":"website/client/components/challenges/challengeModal.vue","position":13,"original_position":13,"commit_id":"355ef5990e060b0e1ce2ea9c6aebc73f553a687f","original_commit_id":"355ef5990e060b0e1ce2ea9c6aebc73f553a687f","user":{"login":"negue","id":842273,"node_id":"MDQ6VXNlcjg0MjI3Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/842273?v=4","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"body":"it didn't exist for my test user, or it did exist but it never passed the if statement, I'll add the _id check ","created_at":"2018-07-15T18:18:44Z","updated_at":"2018-07-15T18:18:45Z","html_url":"https://github.com/HabitRPG/habitica/pull/10525#discussion_r202550035","pull_request_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments/202550035"},"html":{"href":"https://github.com/HabitRPG/habitica/pull/10525#discussion_r202550035"},"pull_request":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525"}},"in_reply_to_id":202544878},"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525","id":201496071,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNDk2MDcx","html_url":"https://github.com/HabitRPG/habitica/pull/10525","diff_url":"https://github.com/HabitRPG/habitica/pull/10525.diff","patch_url":"https://github.com/HabitRPG/habitica/pull/10525.patch","issue_url":"https://api.github.com/repos/HabitRPG/habitica/issues/10525","number":10525,"state":"open","locked":false,"title":"FIX: Challenge Creation without Group not found error","user":{"login":"negue","id":842273,"node_id":"MDQ6VXNlcjg0MjI3Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/842273?v=4","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"body":"prevent loading the party, if the user isn't part of one\r\n\r\nfixes #10228","created_at":"2018-07-15T12:37:24Z","updated_at":"2018-07-15T18:18:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9eb711febb3f660c10c121905220be57bdf19a2b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":192734531,"node_id":"MDU6TGFiZWwxOTI3MzQ1MzE=","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}],"milestone":null,"commits_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525/commits","review_comments_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525/comments","review_comment_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/issues/10525/comments","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/355ef5990e060b0e1ce2ea9c6aebc73f553a687f","head":{"label":"HabitRPG:fix/createchallenge","ref":"fix/createchallenge","sha":"355ef5990e060b0e1ce2ea9c6aebc73f553a687f","user":{"login":"HabitRPG","id":3834775,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MzQ3NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3834775?v=4","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"repo":{"id":4578898,"node_id":"MDEwOlJlcG9zaXRvcnk0NTc4ODk4","name":"habitica","full_name":"HabitRPG/habitica","owner":{"login":"HabitRPG","id":3834775,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MzQ3NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3834775?v=4","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HabitRPG/habitica","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitica","forks_url":"https://api.github.com/repos/HabitRPG/habitica/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitica/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitica/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitica/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitica/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitica/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitica/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitica/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitica/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitica/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitica/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitica/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitica/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitica/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitica/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitica/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitica/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitica/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitica/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitica/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitica/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitica/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitica/releases{/id}","deployments_url":"https://api.github.com/repos/HabitRPG/habitica/deployments","created_at":"2012-06-06T22:49:48Z","updated_at":"2018-07-15T12:48:43Z","pushed_at":"2018-07-15T13:07:22Z","git_url":"git://github.com/HabitRPG/habitica.git","ssh_url":"git@github.com:HabitRPG/habitica.git","clone_url":"https://github.com/HabitRPG/habitica.git","svn_url":"https://github.com/HabitRPG/habitica","homepage":"https://habitica.com","size":929865,"stargazers_count":6042,"watchers_count":6042,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2622,"mirror_url":null,"archived":false,"open_issues_count":310,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2622,"open_issues":310,"watchers":6042,"default_branch":"develop"}},"base":{"label":"HabitRPG:develop","ref":"develop","sha":"896a1b74b690800e90c89c09db520f06a8c530d0","user":{"login":"HabitRPG","id":3834775,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MzQ3NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3834775?v=4","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"repo":{"id":4578898,"node_id":"MDEwOlJlcG9zaXRvcnk0NTc4ODk4","name":"habitica","full_name":"HabitRPG/habitica","owner":{"login":"HabitRPG","id":3834775,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MzQ3NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3834775?v=4","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HabitRPG/habitica","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitica","forks_url":"https://api.github.com/repos/HabitRPG/habitica/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitica/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitica/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitica/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitica/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitica/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitica/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitica/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitica/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitica/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitica/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitica/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitica/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitica/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitica/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitica/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitica/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitica/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitica/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitica/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitica/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitica/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitica/releases{/id}","deployments_url":"https://api.github.com/repos/HabitRPG/habitica/deployments","created_at":"2012-06-06T22:49:48Z","updated_at":"2018-07-15T12:48:43Z","pushed_at":"2018-07-15T13:07:22Z","git_url":"git://github.com/HabitRPG/habitica.git","ssh_url":"git@github.com:HabitRPG/habitica.git","clone_url":"https://github.com/HabitRPG/habitica.git","svn_url":"https://github.com/HabitRPG/habitica","homepage":"https://habitica.com","size":929865,"stargazers_count":6042,"watchers_count":6042,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2622,"mirror_url":null,"archived":false,"open_issues_count":310,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2622,"open_issues":310,"watchers":6042,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525"},"html":{"href":"https://github.com/HabitRPG/habitica/pull/10525"},"issue":{"href":"https://api.github.com/repos/HabitRPG/habitica/issues/10525"},"comments":{"href":"https://api.github.com/repos/HabitRPG/habitica/issues/10525/comments"},"review_comments":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525/comments"},"review_comment":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/10525/commits"},"statuses":{"href":"https://api.github.com/repos/HabitRPG/habitica/statuses/355ef5990e060b0e1ce2ea9c6aebc73f553a687f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"negue"}}