{"action":"created","comment":{"url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/comments/173127541","pull_request_review_id":102261666,"id":173127541,"diff_hunk":"@@ -0,0 +1,22 @@\n+import mongoose from 'mongoose';\n+\n+const opinionSchema = new mongoose.Schema({","path":"server/models/Opinion.js","position":3,"original_position":3,"commit_id":"d37ecef275c713e9e1cf5d825aa41e0df815a200","original_commit_id":"d37ecef275c713e9e1cf5d825aa41e0df815a200","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":"Expected a newline after '('                  function-paren-newline","created_at":"2018-03-08T11:03:55Z","updated_at":"2018-03-08T11:03:56Z","html_url":"https://github.com/Merdoth/Bill-Voting-System/pull/13#discussion_r173127541","pull_request_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/comments/173127541"},"html":{"href":"https://github.com/Merdoth/Bill-Voting-System/pull/13#discussion_r173127541"},"pull_request":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13","id":173706626,"html_url":"https://github.com/Merdoth/Bill-Voting-System/pull/13","diff_url":"https://github.com/Merdoth/Bill-Voting-System/pull/13.diff","patch_url":"https://github.com/Merdoth/Bill-Voting-System/pull/13.patch","issue_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/13","number":13,"state":"open","locked":false,"title":"#155814654 User Opinion Endpoint","user":{"login":"Merdoth","id":28455813,"avatar_url":"https://avatars1.githubusercontent.com/u/28455813?v=4","gravatar_id":"","url":"https://api.github.com/users/Merdoth","html_url":"https://github.com/Merdoth","followers_url":"https://api.github.com/users/Merdoth/followers","following_url":"https://api.github.com/users/Merdoth/following{/other_user}","gists_url":"https://api.github.com/users/Merdoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Merdoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merdoth/subscriptions","organizations_url":"https://api.github.com/users/Merdoth/orgs","repos_url":"https://api.github.com/users/Merdoth/repos","events_url":"https://api.github.com/users/Merdoth/events{/privacy}","received_events_url":"https://api.github.com/users/Merdoth/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- Users Opinion Endpoint\r\n\r\n#### Description of Task to be completed?\r\n- Allows a user add his/her opinions to a bill\r\n\r\n#### How should this be manually tested?\r\n- This can be tested on POSTMAN using this route `http://localhost:8000/api/v1/bill/:billId/opinions`\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n- story type: Feature\r\n- story id: [155814654](https://www.pivotaltracker.com/story/show/155814654)\r\n- story title: User Opinion Endpoint\r\n\r\n#### Screenshots (if appropriate)\r\nN/A\r\n\r\n#### Question\r\nN/A","created_at":"2018-03-08T11:03:45Z","updated_at":"2018-03-08T11:03:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf7c5aa7e69dc7e4dee306569c57299978fddc97","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/13/comments","statuses_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/statuses/d37ecef275c713e9e1cf5d825aa41e0df815a200","head":{"label":"Merdoth:feature/155814654/user-opinion","ref":"feature/155814654/user-opinion","sha":"d37ecef275c713e9e1cf5d825aa41e0df815a200","user":{"login":"Merdoth","id":28455813,"avatar_url":"https://avatars1.githubusercontent.com/u/28455813?v=4","gravatar_id":"","url":"https://api.github.com/users/Merdoth","html_url":"https://github.com/Merdoth","followers_url":"https://api.github.com/users/Merdoth/followers","following_url":"https://api.github.com/users/Merdoth/following{/other_user}","gists_url":"https://api.github.com/users/Merdoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Merdoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merdoth/subscriptions","organizations_url":"https://api.github.com/users/Merdoth/orgs","repos_url":"https://api.github.com/users/Merdoth/repos","events_url":"https://api.github.com/users/Merdoth/events{/privacy}","received_events_url":"https://api.github.com/users/Merdoth/received_events","type":"User","site_admin":false},"repo":{"id":123431180,"name":"Bill-Voting-System","full_name":"Merdoth/Bill-Voting-System","owner":{"login":"Merdoth","id":28455813,"avatar_url":"https://avatars1.githubusercontent.com/u/28455813?v=4","gravatar_id":"","url":"https://api.github.com/users/Merdoth","html_url":"https://github.com/Merdoth","followers_url":"https://api.github.com/users/Merdoth/followers","following_url":"https://api.github.com/users/Merdoth/following{/other_user}","gists_url":"https://api.github.com/users/Merdoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Merdoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merdoth/subscriptions","organizations_url":"https://api.github.com/users/Merdoth/orgs","repos_url":"https://api.github.com/users/Merdoth/repos","events_url":"https://api.github.com/users/Merdoth/events{/privacy}","received_events_url":"https://api.github.com/users/Merdoth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Merdoth/Bill-Voting-System","description":"This is s simple application that grants users the opportunity to vote for or against bills that are to be passed into law by the legislative arm of government. This application gives voice to the citizenry and participation in legislation.","fork":false,"url":"https://api.github.com/repos/Merdoth/Bill-Voting-System","forks_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/forks","keys_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/teams","hooks_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/hooks","issue_events_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/events{/number}","events_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/events","assignees_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/assignees{/user}","branches_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/branches{/branch}","tags_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/tags","blobs_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/refs{/sha}","trees_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/statuses/{sha}","languages_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/languages","stargazers_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/stargazers","contributors_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/contributors","subscribers_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/subscribers","subscription_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/subscription","commits_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/commits{/sha}","git_commits_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/commits{/sha}","comments_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/comments{/number}","issue_comment_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/comments{/number}","contents_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/contents/{+path}","compare_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/merges","archive_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/downloads","issues_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues{/number}","pulls_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls{/number}","milestones_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/milestones{/number}","notifications_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/labels{/name}","releases_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/releases{/id}","deployments_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/deployments","created_at":"2018-03-01T12:20:22Z","updated_at":"2018-03-02T15:02:21Z","pushed_at":"2018-03-08T11:03:46Z","git_url":"git://github.com/Merdoth/Bill-Voting-System.git","ssh_url":"git@github.com:Merdoth/Bill-Voting-System.git","clone_url":"https://github.com/Merdoth/Bill-Voting-System.git","svn_url":"https://github.com/Merdoth/Bill-Voting-System","homepage":"","size":145,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"staging"}},"base":{"label":"Merdoth:staging","ref":"staging","sha":"fafbeb6fc000ad8b3b2dd28b168089f261d39b47","user":{"login":"Merdoth","id":28455813,"avatar_url":"https://avatars1.githubusercontent.com/u/28455813?v=4","gravatar_id":"","url":"https://api.github.com/users/Merdoth","html_url":"https://github.com/Merdoth","followers_url":"https://api.github.com/users/Merdoth/followers","following_url":"https://api.github.com/users/Merdoth/following{/other_user}","gists_url":"https://api.github.com/users/Merdoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Merdoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merdoth/subscriptions","organizations_url":"https://api.github.com/users/Merdoth/orgs","repos_url":"https://api.github.com/users/Merdoth/repos","events_url":"https://api.github.com/users/Merdoth/events{/privacy}","received_events_url":"https://api.github.com/users/Merdoth/received_events","type":"User","site_admin":false},"repo":{"id":123431180,"name":"Bill-Voting-System","full_name":"Merdoth/Bill-Voting-System","owner":{"login":"Merdoth","id":28455813,"avatar_url":"https://avatars1.githubusercontent.com/u/28455813?v=4","gravatar_id":"","url":"https://api.github.com/users/Merdoth","html_url":"https://github.com/Merdoth","followers_url":"https://api.github.com/users/Merdoth/followers","following_url":"https://api.github.com/users/Merdoth/following{/other_user}","gists_url":"https://api.github.com/users/Merdoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Merdoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merdoth/subscriptions","organizations_url":"https://api.github.com/users/Merdoth/orgs","repos_url":"https://api.github.com/users/Merdoth/repos","events_url":"https://api.github.com/users/Merdoth/events{/privacy}","received_events_url":"https://api.github.com/users/Merdoth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Merdoth/Bill-Voting-System","description":"This is s simple application that grants users the opportunity to vote for or against bills that are to be passed into law by the legislative arm of government. This application gives voice to the citizenry and participation in legislation.","fork":false,"url":"https://api.github.com/repos/Merdoth/Bill-Voting-System","forks_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/forks","keys_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/teams","hooks_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/hooks","issue_events_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/events{/number}","events_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/events","assignees_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/assignees{/user}","branches_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/branches{/branch}","tags_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/tags","blobs_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/refs{/sha}","trees_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/statuses/{sha}","languages_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/languages","stargazers_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/stargazers","contributors_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/contributors","subscribers_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/subscribers","subscription_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/subscription","commits_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/commits{/sha}","git_commits_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/git/commits{/sha}","comments_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/comments{/number}","issue_comment_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/comments{/number}","contents_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/contents/{+path}","compare_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/merges","archive_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/downloads","issues_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues{/number}","pulls_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls{/number}","milestones_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/milestones{/number}","notifications_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/labels{/name}","releases_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/releases{/id}","deployments_url":"https://api.github.com/repos/Merdoth/Bill-Voting-System/deployments","created_at":"2018-03-01T12:20:22Z","updated_at":"2018-03-02T15:02:21Z","pushed_at":"2018-03-08T11:03:46Z","git_url":"git://github.com/Merdoth/Bill-Voting-System.git","ssh_url":"git@github.com:Merdoth/Bill-Voting-System.git","clone_url":"https://github.com/Merdoth/Bill-Voting-System.git","svn_url":"https://github.com/Merdoth/Bill-Voting-System","homepage":"","size":145,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13"},"html":{"href":"https://github.com/Merdoth/Bill-Voting-System/pull/13"},"issue":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/13"},"comments":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Merdoth/Bill-Voting-System/statuses/d37ecef275c713e9e1cf5d825aa41e0df815a200"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}