{"action":"created","comment":{"url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/comments/186290522","pull_request_review_id":117843005,"id":186290522,"diff_hunk":"@@ -0,0 +1,118 @@\n+import React, { Component, Fragment } from \"react\";\n+import { Col, Row, Container } from \"reactstrap\";\n+import \"../../assets/css/view/GroupInfo.css\";\n+import GroupIndividualProfile from \"./GroupIndividualProfile\";\n+export default class GroupInfo extends Component {\n+  state = {\n+    users: null,\n+    usersTotal: null\n+  };\n+\n+  componentWillMount() {\n+    this.getOrganization(this.props.user.organisationName);\n+  }\n+\n+  getOrganization = organisationName => {\n+    fetch(`/api/user/organisations/${organisationName}`, {\n+      credentials: \"same-origin\",\n+      method: \"GET\",\n+      headers: {\n+        Accept: \"application/json\"\n+      }\n+    })\n+      .then(response => {\n+        if (response.status > 399) {","path":"web/src/components/views/GroupInfo.js","position":24,"original_position":24,"commit_id":"f7e11c0afcd7dd99789682fcf9d5e19a93bc7bfb","original_commit_id":"f7e11c0afcd7dd99789682fcf9d5e19a93bc7bfb","user":{"login":"kiyaGu","id":9718606,"avatar_url":"https://avatars3.githubusercontent.com/u/9718606?v=4","gravatar_id":"","url":"https://api.github.com/users/kiyaGu","html_url":"https://github.com/kiyaGu","followers_url":"https://api.github.com/users/kiyaGu/followers","following_url":"https://api.github.com/users/kiyaGu/following{/other_user}","gists_url":"https://api.github.com/users/kiyaGu/gists{/gist_id}","starred_url":"https://api.github.com/users/kiyaGu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiyaGu/subscriptions","organizations_url":"https://api.github.com/users/kiyaGu/orgs","repos_url":"https://api.github.com/users/kiyaGu/repos","events_url":"https://api.github.com/users/kiyaGu/events{/privacy}","received_events_url":"https://api.github.com/users/kiyaGu/received_events","type":"User","site_admin":false},"body":"you can use the helper method from utility/helpers.js","created_at":"2018-05-06T13:28:59Z","updated_at":"2018-05-06T13:32:29Z","html_url":"https://github.com/CodeYourFuture/impossible-gnome/pull/85#discussion_r186290522","pull_request_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/comments/186290522"},"html":{"href":"https://github.com/CodeYourFuture/impossible-gnome/pull/85#discussion_r186290522"},"pull_request":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85","id":186027027,"html_url":"https://github.com/CodeYourFuture/impossible-gnome/pull/85","diff_url":"https://github.com/CodeYourFuture/impossible-gnome/pull/85.diff","patch_url":"https://github.com/CodeYourFuture/impossible-gnome/pull/85.patch","issue_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues/85","number":85,"state":"open","locked":false,"title":"group page display multiple profiles with same group","user":{"login":"kharazzoro","id":26529612,"avatar_url":"https://avatars2.githubusercontent.com/u/26529612?v=4","gravatar_id":"","url":"https://api.github.com/users/kharazzoro","html_url":"https://github.com/kharazzoro","followers_url":"https://api.github.com/users/kharazzoro/followers","following_url":"https://api.github.com/users/kharazzoro/following{/other_user}","gists_url":"https://api.github.com/users/kharazzoro/gists{/gist_id}","starred_url":"https://api.github.com/users/kharazzoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kharazzoro/subscriptions","organizations_url":"https://api.github.com/users/kharazzoro/orgs","repos_url":"https://api.github.com/users/kharazzoro/repos","events_url":"https://api.github.com/users/kharazzoro/events{/privacy}","received_events_url":"https://api.github.com/users/kharazzoro/received_events","type":"User","site_admin":false},"body":"group page display all users belong to same group","created_at":"2018-05-04T16:04:55Z","updated_at":"2018-05-06T13:32:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a0eed6f07f69b4fba3e06b919fb5c61c5a1f994","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85/commits","review_comments_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85/comments","review_comment_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues/85/comments","statuses_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/statuses/f7e11c0afcd7dd99789682fcf9d5e19a93bc7bfb","head":{"label":"kharazzoro:group-page-display-multiple-profiles-with-same-group","ref":"group-page-display-multiple-profiles-with-same-group","sha":"f7e11c0afcd7dd99789682fcf9d5e19a93bc7bfb","user":{"login":"kharazzoro","id":26529612,"avatar_url":"https://avatars2.githubusercontent.com/u/26529612?v=4","gravatar_id":"","url":"https://api.github.com/users/kharazzoro","html_url":"https://github.com/kharazzoro","followers_url":"https://api.github.com/users/kharazzoro/followers","following_url":"https://api.github.com/users/kharazzoro/following{/other_user}","gists_url":"https://api.github.com/users/kharazzoro/gists{/gist_id}","starred_url":"https://api.github.com/users/kharazzoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kharazzoro/subscriptions","organizations_url":"https://api.github.com/users/kharazzoro/orgs","repos_url":"https://api.github.com/users/kharazzoro/repos","events_url":"https://api.github.com/users/kharazzoro/events{/privacy}","received_events_url":"https://api.github.com/users/kharazzoro/received_events","type":"User","site_admin":false},"repo":{"id":126237141,"name":"impossible-gnome","full_name":"kharazzoro/impossible-gnome","owner":{"login":"kharazzoro","id":26529612,"avatar_url":"https://avatars2.githubusercontent.com/u/26529612?v=4","gravatar_id":"","url":"https://api.github.com/users/kharazzoro","html_url":"https://github.com/kharazzoro","followers_url":"https://api.github.com/users/kharazzoro/followers","following_url":"https://api.github.com/users/kharazzoro/following{/other_user}","gists_url":"https://api.github.com/users/kharazzoro/gists{/gist_id}","starred_url":"https://api.github.com/users/kharazzoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kharazzoro/subscriptions","organizations_url":"https://api.github.com/users/kharazzoro/orgs","repos_url":"https://api.github.com/users/kharazzoro/repos","events_url":"https://api.github.com/users/kharazzoro/events{/privacy}","received_events_url":"https://api.github.com/users/kharazzoro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kharazzoro/impossible-gnome","description":"Project Gnome is the software powering Impossible People (http://app.impossible.com/)","fork":true,"url":"https://api.github.com/repos/kharazzoro/impossible-gnome","forks_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/forks","keys_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/teams","hooks_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/hooks","issue_events_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/issues/events{/number}","events_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/events","assignees_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/assignees{/user}","branches_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/branches{/branch}","tags_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/tags","blobs_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/git/refs{/sha}","trees_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/statuses/{sha}","languages_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/languages","stargazers_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/stargazers","contributors_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/contributors","subscribers_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/subscribers","subscription_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/subscription","commits_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/commits{/sha}","git_commits_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/git/commits{/sha}","comments_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/comments{/number}","issue_comment_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/issues/comments{/number}","contents_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/contents/{+path}","compare_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/merges","archive_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/downloads","issues_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/issues{/number}","pulls_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/pulls{/number}","milestones_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/milestones{/number}","notifications_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/labels{/name}","releases_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/releases{/id}","deployments_url":"https://api.github.com/repos/kharazzoro/impossible-gnome/deployments","created_at":"2018-03-21T20:33:10Z","updated_at":"2018-05-04T12:01:53Z","pushed_at":"2018-05-05T23:54:47Z","git_url":"git://github.com/kharazzoro/impossible-gnome.git","ssh_url":"git@github.com:kharazzoro/impossible-gnome.git","clone_url":"https://github.com/kharazzoro/impossible-gnome.git","svn_url":"https://github.com/kharazzoro/impossible-gnome","homepage":null,"size":17443,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CodeYourFuture:master","ref":"master","sha":"91477b866cd5526d80459d3b9bc16c287c759148","user":{"login":"CodeYourFuture","id":22743767,"avatar_url":"https://avatars3.githubusercontent.com/u/22743767?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeYourFuture","html_url":"https://github.com/CodeYourFuture","followers_url":"https://api.github.com/users/CodeYourFuture/followers","following_url":"https://api.github.com/users/CodeYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/CodeYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeYourFuture/subscriptions","organizations_url":"https://api.github.com/users/CodeYourFuture/orgs","repos_url":"https://api.github.com/users/CodeYourFuture/repos","events_url":"https://api.github.com/users/CodeYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/CodeYourFuture/received_events","type":"Organization","site_admin":false},"repo":{"id":107878702,"name":"impossible-gnome","full_name":"CodeYourFuture/impossible-gnome","owner":{"login":"CodeYourFuture","id":22743767,"avatar_url":"https://avatars3.githubusercontent.com/u/22743767?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeYourFuture","html_url":"https://github.com/CodeYourFuture","followers_url":"https://api.github.com/users/CodeYourFuture/followers","following_url":"https://api.github.com/users/CodeYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/CodeYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeYourFuture/subscriptions","organizations_url":"https://api.github.com/users/CodeYourFuture/orgs","repos_url":"https://api.github.com/users/CodeYourFuture/repos","events_url":"https://api.github.com/users/CodeYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/CodeYourFuture/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeYourFuture/impossible-gnome","description":"Project Gnome is the software powering Impossible People (http://app.impossible.com/)","fork":true,"url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome","forks_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/forks","keys_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/teams","hooks_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/hooks","issue_events_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues/events{/number}","events_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/events","assignees_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/assignees{/user}","branches_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/branches{/branch}","tags_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/tags","blobs_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/languages","stargazers_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/stargazers","contributors_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/contributors","subscribers_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/subscribers","subscription_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/subscription","commits_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/contents/{+path}","compare_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/merges","archive_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/downloads","issues_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues{/number}","pulls_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/labels{/name}","releases_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/releases{/id}","deployments_url":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/deployments","created_at":"2017-10-22T15:33:31Z","updated_at":"2018-05-04T13:01:50Z","pushed_at":"2018-05-05T23:51:10Z","git_url":"git://github.com/CodeYourFuture/impossible-gnome.git","ssh_url":"git@github.com:CodeYourFuture/impossible-gnome.git","clone_url":"https://github.com/CodeYourFuture/impossible-gnome.git","svn_url":"https://github.com/CodeYourFuture/impossible-gnome","homepage":null,"size":17421,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":3,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85"},"html":{"href":"https://github.com/CodeYourFuture/impossible-gnome/pull/85"},"issue":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues/85"},"comments":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/CodeYourFuture/impossible-gnome/statuses/f7e11c0afcd7dd99789682fcf9d5e19a93bc7bfb"}},"author_association":"NONE"}}
{"actor":{"display_login":"kiyaGu"}}