{"action":"created","comment":{"url":"https://api.github.com/repos/9jaswag/PostIt/pulls/comments/131394249","pull_request_review_id":54372525,"id":131394249,"diff_hunk":"@@ -162,17 +162,44 @@ export default {\n   },\n   findAll(req, res) {\n     return models.User\n-      .all()\n+      .findAll({\n+        attributes: ['id', 'username', 'email', 'phone']\n+      })\n       .then((user) => {\n         if (user.length === 0) {\n           return res.status(200)\n             .send({ success: true, message: 'No users found' });\n         }\n-        return res.status(200).send({ data: { user } });\n+        return res.status(200)\n+          .send({ details: req.userGroupInfo, data: { user } });\n       })\n-      .catch(error => res.status(400).send({\n+      .catch(error => res.send({","path":"server/controllers/users.js","position":36,"original_position":36,"commit_id":"e672e363aaba8c4d76153d714885e40641011097","original_commit_id":"e672e363aaba8c4d76153d714885e40641011097","user":{"login":"houndci-bot","id":6697940,"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":"2017-08-04T13:54:34Z","updated_at":"2017-08-04T13:54:34Z","html_url":"https://github.com/9jaswag/PostIt/pull/33#discussion_r131394249","pull_request_url":"https://api.github.com/repos/9jaswag/PostIt/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/9jaswag/PostIt/pulls/comments/131394249"},"html":{"href":"https://github.com/9jaswag/PostIt/pull/33#discussion_r131394249"},"pull_request":{"href":"https://api.github.com/repos/9jaswag/PostIt/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/9jaswag/PostIt/pulls/33","id":134172770,"html_url":"https://github.com/9jaswag/PostIt/pull/33","diff_url":"https://github.com/9jaswag/PostIt/pull/33.diff","patch_url":"https://github.com/9jaswag/PostIt/pull/33.patch","issue_url":"https://api.github.com/repos/9jaswag/PostIt/issues/33","number":33,"state":"open","locked":false,"title":"Feature creategroup merged into feature-react branch","user":{"login":"9jaswag","id":8125356,"avatar_url":"https://avatars0.githubusercontent.com/u/8125356?v=4","gravatar_id":"","url":"https://api.github.com/users/9jaswag","html_url":"https://github.com/9jaswag","followers_url":"https://api.github.com/users/9jaswag/followers","following_url":"https://api.github.com/users/9jaswag/following{/other_user}","gists_url":"https://api.github.com/users/9jaswag/gists{/gist_id}","starred_url":"https://api.github.com/users/9jaswag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9jaswag/subscriptions","organizations_url":"https://api.github.com/users/9jaswag/orgs","repos_url":"https://api.github.com/users/9jaswag/repos","events_url":"https://api.github.com/users/9jaswag/events{/privacy}","received_events_url":"https://api.github.com/users/9jaswag/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-04T13:54:22Z","updated_at":"2017-08-04T13:54:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16a2b0a3c8a77c3b5921ea8d5c7161d02d3e2974","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/9jaswag/PostIt/pulls/33/commits","review_comments_url":"https://api.github.com/repos/9jaswag/PostIt/pulls/33/comments","review_comment_url":"https://api.github.com/repos/9jaswag/PostIt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/9jaswag/PostIt/issues/33/comments","statuses_url":"https://api.github.com/repos/9jaswag/PostIt/statuses/e672e363aaba8c4d76153d714885e40641011097","head":{"label":"9jaswag:feature-creategroup","ref":"feature-creategroup","sha":"e672e363aaba8c4d76153d714885e40641011097","user":{"login":"9jaswag","id":8125356,"avatar_url":"https://avatars0.githubusercontent.com/u/8125356?v=4","gravatar_id":"","url":"https://api.github.com/users/9jaswag","html_url":"https://github.com/9jaswag","followers_url":"https://api.github.com/users/9jaswag/followers","following_url":"https://api.github.com/users/9jaswag/following{/other_user}","gists_url":"https://api.github.com/users/9jaswag/gists{/gist_id}","starred_url":"https://api.github.com/users/9jaswag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9jaswag/subscriptions","organizations_url":"https://api.github.com/users/9jaswag/orgs","repos_url":"https://api.github.com/users/9jaswag/repos","events_url":"https://api.github.com/users/9jaswag/events{/privacy}","received_events_url":"https://api.github.com/users/9jaswag/received_events","type":"User","site_admin":false},"repo":{"id":96152762,"name":"PostIt","full_name":"9jaswag/PostIt","owner":{"login":"9jaswag","id":8125356,"avatar_url":"https://avatars0.githubusercontent.com/u/8125356?v=4","gravatar_id":"","url":"https://api.github.com/users/9jaswag","html_url":"https://github.com/9jaswag","followers_url":"https://api.github.com/users/9jaswag/followers","following_url":"https://api.github.com/users/9jaswag/following{/other_user}","gists_url":"https://api.github.com/users/9jaswag/gists{/gist_id}","starred_url":"https://api.github.com/users/9jaswag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9jaswag/subscriptions","organizations_url":"https://api.github.com/users/9jaswag/orgs","repos_url":"https://api.github.com/users/9jaswag/repos","events_url":"https://api.github.com/users/9jaswag/events{/privacy}","received_events_url":"https://api.github.com/users/9jaswag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/9jaswag/PostIt","description":"PostIt is a simple application that allows friends and colleagues create groups for notifications.","fork":false,"url":"https://api.github.com/repos/9jaswag/PostIt","forks_url":"https://api.github.com/repos/9jaswag/PostIt/forks","keys_url":"https://api.github.com/repos/9jaswag/PostIt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/9jaswag/PostIt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/9jaswag/PostIt/teams","hooks_url":"https://api.github.com/repos/9jaswag/PostIt/hooks","issue_events_url":"https://api.github.com/repos/9jaswag/PostIt/issues/events{/number}","events_url":"https://api.github.com/repos/9jaswag/PostIt/events","assignees_url":"https://api.github.com/repos/9jaswag/PostIt/assignees{/user}","branches_url":"https://api.github.com/repos/9jaswag/PostIt/branches{/branch}","tags_url":"https://api.github.com/repos/9jaswag/PostIt/tags","blobs_url":"https://api.github.com/repos/9jaswag/PostIt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/9jaswag/PostIt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/9jaswag/PostIt/git/refs{/sha}","trees_url":"https://api.github.com/repos/9jaswag/PostIt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/9jaswag/PostIt/statuses/{sha}","languages_url":"https://api.github.com/repos/9jaswag/PostIt/languages","stargazers_url":"https://api.github.com/repos/9jaswag/PostIt/stargazers","contributors_url":"https://api.github.com/repos/9jaswag/PostIt/contributors","subscribers_url":"https://api.github.com/repos/9jaswag/PostIt/subscribers","subscription_url":"https://api.github.com/repos/9jaswag/PostIt/subscription","commits_url":"https://api.github.com/repos/9jaswag/PostIt/commits{/sha}","git_commits_url":"https://api.github.com/repos/9jaswag/PostIt/git/commits{/sha}","comments_url":"https://api.github.com/repos/9jaswag/PostIt/comments{/number}","issue_comment_url":"https://api.github.com/repos/9jaswag/PostIt/issues/comments{/number}","contents_url":"https://api.github.com/repos/9jaswag/PostIt/contents/{+path}","compare_url":"https://api.github.com/repos/9jaswag/PostIt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/9jaswag/PostIt/merges","archive_url":"https://api.github.com/repos/9jaswag/PostIt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/9jaswag/PostIt/downloads","issues_url":"https://api.github.com/repos/9jaswag/PostIt/issues{/number}","pulls_url":"https://api.github.com/repos/9jaswag/PostIt/pulls{/number}","milestones_url":"https://api.github.com/repos/9jaswag/PostIt/milestones{/number}","notifications_url":"https://api.github.com/repos/9jaswag/PostIt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/9jaswag/PostIt/labels{/name}","releases_url":"https://api.github.com/repos/9jaswag/PostIt/releases{/id}","deployments_url":"https://api.github.com/repos/9jaswag/PostIt/deployments","created_at":"2017-07-03T21:44:04Z","updated_at":"2017-07-21T10:47:37Z","pushed_at":"2017-08-04T13:54:23Z","git_url":"git://github.com/9jaswag/PostIt.git","ssh_url":"git@github.com:9jaswag/PostIt.git","clone_url":"https://github.com/9jaswag/PostIt.git","svn_url":"https://github.com/9jaswag/PostIt","homepage":null,"size":484,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"heroku-deploy"}},"base":{"label":"9jaswag:feature-react","ref":"feature-react","sha":"3bbf62e327cc39677d950ebb207a8ad4222b0e17","user":{"login":"9jaswag","id":8125356,"avatar_url":"https://avatars0.githubusercontent.com/u/8125356?v=4","gravatar_id":"","url":"https://api.github.com/users/9jaswag","html_url":"https://github.com/9jaswag","followers_url":"https://api.github.com/users/9jaswag/followers","following_url":"https://api.github.com/users/9jaswag/following{/other_user}","gists_url":"https://api.github.com/users/9jaswag/gists{/gist_id}","starred_url":"https://api.github.com/users/9jaswag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9jaswag/subscriptions","organizations_url":"https://api.github.com/users/9jaswag/orgs","repos_url":"https://api.github.com/users/9jaswag/repos","events_url":"https://api.github.com/users/9jaswag/events{/privacy}","received_events_url":"https://api.github.com/users/9jaswag/received_events","type":"User","site_admin":false},"repo":{"id":96152762,"name":"PostIt","full_name":"9jaswag/PostIt","owner":{"login":"9jaswag","id":8125356,"avatar_url":"https://avatars0.githubusercontent.com/u/8125356?v=4","gravatar_id":"","url":"https://api.github.com/users/9jaswag","html_url":"https://github.com/9jaswag","followers_url":"https://api.github.com/users/9jaswag/followers","following_url":"https://api.github.com/users/9jaswag/following{/other_user}","gists_url":"https://api.github.com/users/9jaswag/gists{/gist_id}","starred_url":"https://api.github.com/users/9jaswag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9jaswag/subscriptions","organizations_url":"https://api.github.com/users/9jaswag/orgs","repos_url":"https://api.github.com/users/9jaswag/repos","events_url":"https://api.github.com/users/9jaswag/events{/privacy}","received_events_url":"https://api.github.com/users/9jaswag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/9jaswag/PostIt","description":"PostIt is a simple application that allows friends and colleagues create groups for notifications.","fork":false,"url":"https://api.github.com/repos/9jaswag/PostIt","forks_url":"https://api.github.com/repos/9jaswag/PostIt/forks","keys_url":"https://api.github.com/repos/9jaswag/PostIt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/9jaswag/PostIt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/9jaswag/PostIt/teams","hooks_url":"https://api.github.com/repos/9jaswag/PostIt/hooks","issue_events_url":"https://api.github.com/repos/9jaswag/PostIt/issues/events{/number}","events_url":"https://api.github.com/repos/9jaswag/PostIt/events","assignees_url":"https://api.github.com/repos/9jaswag/PostIt/assignees{/user}","branches_url":"https://api.github.com/repos/9jaswag/PostIt/branches{/branch}","tags_url":"https://api.github.com/repos/9jaswag/PostIt/tags","blobs_url":"https://api.github.com/repos/9jaswag/PostIt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/9jaswag/PostIt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/9jaswag/PostIt/git/refs{/sha}","trees_url":"https://api.github.com/repos/9jaswag/PostIt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/9jaswag/PostIt/statuses/{sha}","languages_url":"https://api.github.com/repos/9jaswag/PostIt/languages","stargazers_url":"https://api.github.com/repos/9jaswag/PostIt/stargazers","contributors_url":"https://api.github.com/repos/9jaswag/PostIt/contributors","subscribers_url":"https://api.github.com/repos/9jaswag/PostIt/subscribers","subscription_url":"https://api.github.com/repos/9jaswag/PostIt/subscription","commits_url":"https://api.github.com/repos/9jaswag/PostIt/commits{/sha}","git_commits_url":"https://api.github.com/repos/9jaswag/PostIt/git/commits{/sha}","comments_url":"https://api.github.com/repos/9jaswag/PostIt/comments{/number}","issue_comment_url":"https://api.github.com/repos/9jaswag/PostIt/issues/comments{/number}","contents_url":"https://api.github.com/repos/9jaswag/PostIt/contents/{+path}","compare_url":"https://api.github.com/repos/9jaswag/PostIt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/9jaswag/PostIt/merges","archive_url":"https://api.github.com/repos/9jaswag/PostIt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/9jaswag/PostIt/downloads","issues_url":"https://api.github.com/repos/9jaswag/PostIt/issues{/number}","pulls_url":"https://api.github.com/repos/9jaswag/PostIt/pulls{/number}","milestones_url":"https://api.github.com/repos/9jaswag/PostIt/milestones{/number}","notifications_url":"https://api.github.com/repos/9jaswag/PostIt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/9jaswag/PostIt/labels{/name}","releases_url":"https://api.github.com/repos/9jaswag/PostIt/releases{/id}","deployments_url":"https://api.github.com/repos/9jaswag/PostIt/deployments","created_at":"2017-07-03T21:44:04Z","updated_at":"2017-07-21T10:47:37Z","pushed_at":"2017-08-04T13:54:23Z","git_url":"git://github.com/9jaswag/PostIt.git","ssh_url":"git@github.com:9jaswag/PostIt.git","clone_url":"https://github.com/9jaswag/PostIt.git","svn_url":"https://github.com/9jaswag/PostIt","homepage":null,"size":484,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"heroku-deploy"}},"_links":{"self":{"href":"https://api.github.com/repos/9jaswag/PostIt/pulls/33"},"html":{"href":"https://github.com/9jaswag/PostIt/pull/33"},"issue":{"href":"https://api.github.com/repos/9jaswag/PostIt/issues/33"},"comments":{"href":"https://api.github.com/repos/9jaswag/PostIt/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/9jaswag/PostIt/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/9jaswag/PostIt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/9jaswag/PostIt/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/9jaswag/PostIt/statuses/e672e363aaba8c4d76153d714885e40641011097"}}}}
{"actor":{"display_login":"houndci-bot"}}