{"action":"created","comment":{"url":"https://api.github.com/repos/kensanni/More-recipes/pulls/comments/148366893","pull_request_review_id":73598397,"id":148366893,"diff_hunk":"@@ -0,0 +1,37 @@\n+export default (sequelize, DataTypes) => {\n+  const Reviews = sequelize.define('Reviews', {","path":"server/models/reviews.js","position":2,"original_position":2,"commit_id":"b2bfdfdc7054ca1ef3c22534eff79087b01ba57a","original_commit_id":"b2bfdfdc7054ca1ef3c22534eff79087b01ba57a","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":"'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).","created_at":"2017-11-01T19:55:31Z","updated_at":"2017-11-01T19:55:32Z","html_url":"https://github.com/kensanni/More-recipes/pull/33#discussion_r148366893","pull_request_url":"https://api.github.com/repos/kensanni/More-recipes/pulls/33","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kensanni/More-recipes/pulls/comments/148366893"},"html":{"href":"https://github.com/kensanni/More-recipes/pull/33#discussion_r148366893"},"pull_request":{"href":"https://api.github.com/repos/kensanni/More-recipes/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/kensanni/More-recipes/pulls/33","id":150130562,"html_url":"https://github.com/kensanni/More-recipes/pull/33","diff_url":"https://github.com/kensanni/More-recipes/pull/33.diff","patch_url":"https://github.com/kensanni/More-recipes/pull/33.patch","issue_url":"https://api.github.com/repos/kensanni/More-recipes/issues/33","number":33,"state":"open","locked":false,"title":"Ft api endpoint for user to post review to recipes 152477392","user":{"login":"kensanni","id":22421283,"avatar_url":"https://avatars0.githubusercontent.com/u/22421283?v=4","gravatar_id":"","url":"https://api.github.com/users/kensanni","html_url":"https://github.com/kensanni","followers_url":"https://api.github.com/users/kensanni/followers","following_url":"https://api.github.com/users/kensanni/following{/other_user}","gists_url":"https://api.github.com/users/kensanni/gists{/gist_id}","starred_url":"https://api.github.com/users/kensanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensanni/subscriptions","organizations_url":"https://api.github.com/users/kensanni/orgs","repos_url":"https://api.github.com/users/kensanni/repos","events_url":"https://api.github.com/users/kensanni/events{/privacy}","received_events_url":"https://api.github.com/users/kensanni/received_events","type":"User","site_admin":false},"body":"#### What does this PR do\r\nThis create an endpoint for user to post review to recipes\r\n\r\n#### Description of Task to be completed\r\n>- A user should be able to post review to recipes\r\n\r\n#### How should this be manually tested\r\n>- git clone this repo @ https://github.com/kensanni/More-recipes.git\r\n>- cd into more-recipes directory\r\n>- run npm install to install required modules\r\n>- using this routes POST; /api/recipes/<recipeId>/reviews \r\n>- then the API endpoint with postman to create review\r\n\r\n#### What are the relevant pivotal tracker stories\r\n#152477392","created_at":"2017-11-01T19:55:20Z","updated_at":"2017-11-01T19:55:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c49d43e21408f0ab618a579bfdab4454e4f776d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kensanni/More-recipes/pulls/33/commits","review_comments_url":"https://api.github.com/repos/kensanni/More-recipes/pulls/33/comments","review_comment_url":"https://api.github.com/repos/kensanni/More-recipes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kensanni/More-recipes/issues/33/comments","statuses_url":"https://api.github.com/repos/kensanni/More-recipes/statuses/b2bfdfdc7054ca1ef3c22534eff79087b01ba57a","head":{"label":"kensanni:ft-api-endpoint-for-user-to-post-review-to-recipes-152477392","ref":"ft-api-endpoint-for-user-to-post-review-to-recipes-152477392","sha":"b2bfdfdc7054ca1ef3c22534eff79087b01ba57a","user":{"login":"kensanni","id":22421283,"avatar_url":"https://avatars0.githubusercontent.com/u/22421283?v=4","gravatar_id":"","url":"https://api.github.com/users/kensanni","html_url":"https://github.com/kensanni","followers_url":"https://api.github.com/users/kensanni/followers","following_url":"https://api.github.com/users/kensanni/following{/other_user}","gists_url":"https://api.github.com/users/kensanni/gists{/gist_id}","starred_url":"https://api.github.com/users/kensanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensanni/subscriptions","organizations_url":"https://api.github.com/users/kensanni/orgs","repos_url":"https://api.github.com/users/kensanni/repos","events_url":"https://api.github.com/users/kensanni/events{/privacy}","received_events_url":"https://api.github.com/users/kensanni/received_events","type":"User","site_admin":false},"repo":{"id":107834456,"name":"More-recipes","full_name":"kensanni/More-recipes","owner":{"login":"kensanni","id":22421283,"avatar_url":"https://avatars0.githubusercontent.com/u/22421283?v=4","gravatar_id":"","url":"https://api.github.com/users/kensanni","html_url":"https://github.com/kensanni","followers_url":"https://api.github.com/users/kensanni/followers","following_url":"https://api.github.com/users/kensanni/following{/other_user}","gists_url":"https://api.github.com/users/kensanni/gists{/gist_id}","starred_url":"https://api.github.com/users/kensanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensanni/subscriptions","organizations_url":"https://api.github.com/users/kensanni/orgs","repos_url":"https://api.github.com/users/kensanni/repos","events_url":"https://api.github.com/users/kensanni/events{/privacy}","received_events_url":"https://api.github.com/users/kensanni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kensanni/More-recipes","description":"More-Recipes provides a platform for users to share the awesome and exciting recipe ideas they have invented or learnt. Suppose a user comes up with a food recipe, he/she can post it on More-Recipes and get feedback in form of reviews and votes from other users who explore that recipe. Users can also keep a list of their favorite recipes on the application.","fork":false,"url":"https://api.github.com/repos/kensanni/More-recipes","forks_url":"https://api.github.com/repos/kensanni/More-recipes/forks","keys_url":"https://api.github.com/repos/kensanni/More-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kensanni/More-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kensanni/More-recipes/teams","hooks_url":"https://api.github.com/repos/kensanni/More-recipes/hooks","issue_events_url":"https://api.github.com/repos/kensanni/More-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/kensanni/More-recipes/events","assignees_url":"https://api.github.com/repos/kensanni/More-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/kensanni/More-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/kensanni/More-recipes/tags","blobs_url":"https://api.github.com/repos/kensanni/More-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kensanni/More-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kensanni/More-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kensanni/More-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kensanni/More-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/kensanni/More-recipes/languages","stargazers_url":"https://api.github.com/repos/kensanni/More-recipes/stargazers","contributors_url":"https://api.github.com/repos/kensanni/More-recipes/contributors","subscribers_url":"https://api.github.com/repos/kensanni/More-recipes/subscribers","subscription_url":"https://api.github.com/repos/kensanni/More-recipes/subscription","commits_url":"https://api.github.com/repos/kensanni/More-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kensanni/More-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kensanni/More-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kensanni/More-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kensanni/More-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/kensanni/More-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kensanni/More-recipes/merges","archive_url":"https://api.github.com/repos/kensanni/More-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kensanni/More-recipes/downloads","issues_url":"https://api.github.com/repos/kensanni/More-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/kensanni/More-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/kensanni/More-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/kensanni/More-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kensanni/More-recipes/labels{/name}","releases_url":"https://api.github.com/repos/kensanni/More-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/kensanni/More-recipes/deployments","created_at":"2017-10-22T03:30:30Z","updated_at":"2017-10-30T16:42:50Z","pushed_at":"2017-11-01T19:55:20Z","git_url":"git://github.com/kensanni/More-recipes.git","ssh_url":"git@github.com:kensanni/More-recipes.git","clone_url":"https://github.com/kensanni/More-recipes.git","svn_url":"https://github.com/kensanni/More-recipes","homepage":"https://kensanni.github.io/More-recipes/template/","size":2055,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"kensanni:develop","ref":"develop","sha":"e81950eab377507dd22a64ab235eae7d3a72de8f","user":{"login":"kensanni","id":22421283,"avatar_url":"https://avatars0.githubusercontent.com/u/22421283?v=4","gravatar_id":"","url":"https://api.github.com/users/kensanni","html_url":"https://github.com/kensanni","followers_url":"https://api.github.com/users/kensanni/followers","following_url":"https://api.github.com/users/kensanni/following{/other_user}","gists_url":"https://api.github.com/users/kensanni/gists{/gist_id}","starred_url":"https://api.github.com/users/kensanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensanni/subscriptions","organizations_url":"https://api.github.com/users/kensanni/orgs","repos_url":"https://api.github.com/users/kensanni/repos","events_url":"https://api.github.com/users/kensanni/events{/privacy}","received_events_url":"https://api.github.com/users/kensanni/received_events","type":"User","site_admin":false},"repo":{"id":107834456,"name":"More-recipes","full_name":"kensanni/More-recipes","owner":{"login":"kensanni","id":22421283,"avatar_url":"https://avatars0.githubusercontent.com/u/22421283?v=4","gravatar_id":"","url":"https://api.github.com/users/kensanni","html_url":"https://github.com/kensanni","followers_url":"https://api.github.com/users/kensanni/followers","following_url":"https://api.github.com/users/kensanni/following{/other_user}","gists_url":"https://api.github.com/users/kensanni/gists{/gist_id}","starred_url":"https://api.github.com/users/kensanni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kensanni/subscriptions","organizations_url":"https://api.github.com/users/kensanni/orgs","repos_url":"https://api.github.com/users/kensanni/repos","events_url":"https://api.github.com/users/kensanni/events{/privacy}","received_events_url":"https://api.github.com/users/kensanni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kensanni/More-recipes","description":"More-Recipes provides a platform for users to share the awesome and exciting recipe ideas they have invented or learnt. Suppose a user comes up with a food recipe, he/she can post it on More-Recipes and get feedback in form of reviews and votes from other users who explore that recipe. Users can also keep a list of their favorite recipes on the application.","fork":false,"url":"https://api.github.com/repos/kensanni/More-recipes","forks_url":"https://api.github.com/repos/kensanni/More-recipes/forks","keys_url":"https://api.github.com/repos/kensanni/More-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kensanni/More-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kensanni/More-recipes/teams","hooks_url":"https://api.github.com/repos/kensanni/More-recipes/hooks","issue_events_url":"https://api.github.com/repos/kensanni/More-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/kensanni/More-recipes/events","assignees_url":"https://api.github.com/repos/kensanni/More-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/kensanni/More-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/kensanni/More-recipes/tags","blobs_url":"https://api.github.com/repos/kensanni/More-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kensanni/More-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kensanni/More-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kensanni/More-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kensanni/More-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/kensanni/More-recipes/languages","stargazers_url":"https://api.github.com/repos/kensanni/More-recipes/stargazers","contributors_url":"https://api.github.com/repos/kensanni/More-recipes/contributors","subscribers_url":"https://api.github.com/repos/kensanni/More-recipes/subscribers","subscription_url":"https://api.github.com/repos/kensanni/More-recipes/subscription","commits_url":"https://api.github.com/repos/kensanni/More-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kensanni/More-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kensanni/More-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kensanni/More-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kensanni/More-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/kensanni/More-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kensanni/More-recipes/merges","archive_url":"https://api.github.com/repos/kensanni/More-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kensanni/More-recipes/downloads","issues_url":"https://api.github.com/repos/kensanni/More-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/kensanni/More-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/kensanni/More-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/kensanni/More-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kensanni/More-recipes/labels{/name}","releases_url":"https://api.github.com/repos/kensanni/More-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/kensanni/More-recipes/deployments","created_at":"2017-10-22T03:30:30Z","updated_at":"2017-10-30T16:42:50Z","pushed_at":"2017-11-01T19:55:20Z","git_url":"git://github.com/kensanni/More-recipes.git","ssh_url":"git@github.com:kensanni/More-recipes.git","clone_url":"https://github.com/kensanni/More-recipes.git","svn_url":"https://github.com/kensanni/More-recipes","homepage":"https://kensanni.github.io/More-recipes/template/","size":2055,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kensanni/More-recipes/pulls/33"},"html":{"href":"https://github.com/kensanni/More-recipes/pull/33"},"issue":{"href":"https://api.github.com/repos/kensanni/More-recipes/issues/33"},"comments":{"href":"https://api.github.com/repos/kensanni/More-recipes/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/kensanni/More-recipes/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/kensanni/More-recipes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kensanni/More-recipes/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/kensanni/More-recipes/statuses/b2bfdfdc7054ca1ef3c22534eff79087b01ba57a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}