{"action":"created","comment":{"url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/comments/200821013","pull_request_review_id":135213258,"id":200821013,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDgyMTAxMw==","diff_hunk":"@@ -26,11 +29,28 @@ export class BusinessDetailsContainer extends Component {\n   fetchBusiness(id) {\n     const {fetchBusinessDetails, fetchBusinessReviews} = this.props;\n     fetchBusinessDetails(id).then(() => {\n-      console.log(store.getState());\n+      if(this.props.errorMessage && this.props.errorMessage.includes('Business id is incorrect')) {\n+        store.dispatch(errorMessage(\"\"));\n+      }\n     });\n-    fetchBusinessReviews(id).then(() => {\n-      //do something here\n+  \n+  fetchBusinessReviews(id).then(() => {","path":"src/components/business/BusinessDetailsContainer.js","position":31,"original_position":31,"commit_id":"bd74fff2dfae1f78715e4182d8b4944500e53ebe","original_commit_id":"bd74fff2dfae1f78715e4182d8b4944500e53ebe","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2018-07-07T20:02:10Z","updated_at":"2018-07-07T20:02:11Z","html_url":"https://github.com/murageden/we-connect-v2-react-front-end/pull/6#discussion_r200821013","pull_request_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/comments/200821013"},"html":{"href":"https://github.com/murageden/we-connect-v2-react-front-end/pull/6#discussion_r200821013"},"pull_request":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6","id":199911562,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTExNTYy","html_url":"https://github.com/murageden/we-connect-v2-react-front-end/pull/6","diff_url":"https://github.com/murageden/we-connect-v2-react-front-end/pull/6.diff","patch_url":"https://github.com/murageden/we-connect-v2-react-front-end/pull/6.patch","issue_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/6","number":6,"state":"open","locked":false,"title":"Fix bug on deleting a business #158820482","user":{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nFixes a bug that was making it impossible to delete a user-owned business\r\n#### Description of Task to be completed?\r\nEnsure the functionality for deleting a user is working well with no errors\r\n#### How should this be manually tested?\r\n* Setup the application as described on `README`\r\n* Switch to branch `fix-bug-on-deleting-a-business-#15882048`\r\n* Register an account and login, and register a business\r\n* On the list of businesses, a user should be able to click on an icon to delete business and delete a business successfully\r\n#### Any background context you want to provide?\r\nPreviously, a bug was making this impossible\r\n#### What are the relevant pivotal tracker stories?\r\nPivotal Tracker: https://www.pivotaltracker.com/n/projects/2177751\r\nStory ID: 158820482\r\n#### Questions:\r\nHow can this be improved?","created_at":"2018-07-07T20:01:56Z","updated_at":"2018-07-07T20:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"969d0661819c1634faaddbec3de1efdbedf4f22d","assignee":{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false},"assignees":[{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6/commits","review_comments_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6/comments","review_comment_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/comments{/number}","comments_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/6/comments","statuses_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/statuses/bd74fff2dfae1f78715e4182d8b4944500e53ebe","head":{"label":"murageden:fix-bug-on-deleting-a-business-#158820482","ref":"fix-bug-on-deleting-a-business-#158820482","sha":"bd74fff2dfae1f78715e4182d8b4944500e53ebe","user":{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false},"repo":{"id":130721104,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA3MjExMDQ=","name":"we-connect-v2-react-front-end","full_name":"murageden/we-connect-v2-react-front-end","owner":{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/murageden/we-connect-v2-react-front-end","description":"Front end for the WeConnect Version 2 Application","fork":false,"url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end","forks_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/forks","keys_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/keys{/key_id}","collaborators_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/teams","hooks_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/hooks","issue_events_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/events{/number}","events_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/events","assignees_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/assignees{/user}","branches_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/branches{/branch}","tags_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/tags","blobs_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/refs{/sha}","trees_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/trees{/sha}","statuses_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/statuses/{sha}","languages_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/languages","stargazers_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/stargazers","contributors_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/contributors","subscribers_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/subscribers","subscription_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/subscription","commits_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/commits{/sha}","git_commits_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/commits{/sha}","comments_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/comments{/number}","issue_comment_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/comments{/number}","contents_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/contents/{+path}","compare_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/compare/{base}...{head}","merges_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/merges","archive_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/downloads","issues_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues{/number}","pulls_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls{/number}","milestones_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/milestones{/number}","notifications_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/labels{/name}","releases_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/releases{/id}","deployments_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/deployments","created_at":"2018-04-23T15:50:02Z","updated_at":"2018-07-07T19:54:54Z","pushed_at":"2018-07-07T20:01:56Z","git_url":"git://github.com/murageden/we-connect-v2-react-front-end.git","ssh_url":"git@github.com:murageden/we-connect-v2-react-front-end.git","clone_url":"https://github.com/murageden/we-connect-v2-react-front-end.git","svn_url":"https://github.com/murageden/we-connect-v2-react-front-end","homepage":"","size":333,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"murageden:develop","ref":"develop","sha":"bbf8931eb28ef715cabd3dd642582b2dc9597ac7","user":{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false},"repo":{"id":130721104,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA3MjExMDQ=","name":"we-connect-v2-react-front-end","full_name":"murageden/we-connect-v2-react-front-end","owner":{"login":"murageden","id":22506247,"node_id":"MDQ6VXNlcjIyNTA2MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/22506247?v=4","gravatar_id":"","url":"https://api.github.com/users/murageden","html_url":"https://github.com/murageden","followers_url":"https://api.github.com/users/murageden/followers","following_url":"https://api.github.com/users/murageden/following{/other_user}","gists_url":"https://api.github.com/users/murageden/gists{/gist_id}","starred_url":"https://api.github.com/users/murageden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murageden/subscriptions","organizations_url":"https://api.github.com/users/murageden/orgs","repos_url":"https://api.github.com/users/murageden/repos","events_url":"https://api.github.com/users/murageden/events{/privacy}","received_events_url":"https://api.github.com/users/murageden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/murageden/we-connect-v2-react-front-end","description":"Front end for the WeConnect Version 2 Application","fork":false,"url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end","forks_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/forks","keys_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/keys{/key_id}","collaborators_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/teams","hooks_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/hooks","issue_events_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/events{/number}","events_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/events","assignees_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/assignees{/user}","branches_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/branches{/branch}","tags_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/tags","blobs_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/refs{/sha}","trees_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/trees{/sha}","statuses_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/statuses/{sha}","languages_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/languages","stargazers_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/stargazers","contributors_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/contributors","subscribers_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/subscribers","subscription_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/subscription","commits_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/commits{/sha}","git_commits_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/git/commits{/sha}","comments_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/comments{/number}","issue_comment_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/comments{/number}","contents_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/contents/{+path}","compare_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/compare/{base}...{head}","merges_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/merges","archive_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/downloads","issues_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues{/number}","pulls_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls{/number}","milestones_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/milestones{/number}","notifications_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/labels{/name}","releases_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/releases{/id}","deployments_url":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/deployments","created_at":"2018-04-23T15:50:02Z","updated_at":"2018-07-07T19:54:54Z","pushed_at":"2018-07-07T20:01:56Z","git_url":"git://github.com/murageden/we-connect-v2-react-front-end.git","ssh_url":"git@github.com:murageden/we-connect-v2-react-front-end.git","clone_url":"https://github.com/murageden/we-connect-v2-react-front-end.git","svn_url":"https://github.com/murageden/we-connect-v2-react-front-end","homepage":"","size":333,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6"},"html":{"href":"https://github.com/murageden/we-connect-v2-react-front-end/pull/6"},"issue":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/6"},"comments":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/murageden/we-connect-v2-react-front-end/statuses/bd74fff2dfae1f78715e4182d8b4944500e53ebe"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}