{"action":"created","comment":{"url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/comments/217848367","pull_request_review_id":155669812,"id":217848367,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzg0ODM2Nw==","diff_hunk":"@@ -0,0 +1,105 @@\n+const express = require('express');\n+const router  = express.Router();\n+const Celebrity    = require('../models/celebrity')\n+\n+/* GET home page */\n+router.get('/celebrities', (req, res, next) => {\n+\n+  Celebrity.find()\n+  .then((theThingsWeGet)=>{\n+ \n+    res.render('allCelebs', {listOfCelebs: theThingsWeGet});\n+  \n+  })\n+  .catch((err)=>{\n+    console.log(err)\n+  })\n+  \n+\n+});\n+\n+\n+router.get('/celebrities/new', (req,res,next)=>{\n+  res.render('new');\n+})\n+\n+router.post('/celebrities/create', (req,res,next)=>{\n+  // console.log(\"works here\")\n+  const celebName = req.body.newName;\n+  const celebOcc = req.body.newOccpation;","path":"starter-code/lab-mongoose-movies/routes/celebrities.js","position":29,"original_position":29,"commit_id":"652883db6864f1b06f84c91195ff177243c8a2a5","original_commit_id":"652883db6864f1b06f84c91195ff177243c8a2a5","user":{"login":"MarcosPalaciosIII","id":25996499,"node_id":"MDQ6VXNlcjI1OTk2NDk5","avatar_url":"https://avatars1.githubusercontent.com/u/25996499?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcosPalaciosIII","html_url":"https://github.com/MarcosPalaciosIII","followers_url":"https://api.github.com/users/MarcosPalaciosIII/followers","following_url":"https://api.github.com/users/MarcosPalaciosIII/following{/other_user}","gists_url":"https://api.github.com/users/MarcosPalaciosIII/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcosPalaciosIII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcosPalaciosIII/subscriptions","organizations_url":"https://api.github.com/users/MarcosPalaciosIII/orgs","repos_url":"https://api.github.com/users/MarcosPalaciosIII/repos","events_url":"https://api.github.com/users/MarcosPalaciosIII/events{/privacy}","received_events_url":"https://api.github.com/users/MarcosPalaciosIII/received_events","type":"User","site_admin":false},"body":"this should be `req.body.newOccupation` as in the view you have the input name for this field as `newOccupation`","created_at":"2018-09-14T21:34:11Z","updated_at":"2018-09-14T21:34:18Z","html_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/396#discussion_r217848367","pull_request_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/comments/217848367"},"html":{"href":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/396#discussion_r217848367"},"pull_request":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396"}}},"pull_request":{"url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396","id":214303685,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MzAzNjg1","html_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/396","diff_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/396.diff","patch_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/396.patch","issue_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/396","number":396,"state":"open","locked":false,"title":"Inna MIA FTWD","user":{"login":"innayugay","id":42050743,"node_id":"MDQ6VXNlcjQyMDUwNzQz","avatar_url":"https://avatars1.githubusercontent.com/u/42050743?v=4","gravatar_id":"","url":"https://api.github.com/users/innayugay","html_url":"https://github.com/innayugay","followers_url":"https://api.github.com/users/innayugay/followers","following_url":"https://api.github.com/users/innayugay/following{/other_user}","gists_url":"https://api.github.com/users/innayugay/gists{/gist_id}","starred_url":"https://api.github.com/users/innayugay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innayugay/subscriptions","organizations_url":"https://api.github.com/users/innayugay/orgs","repos_url":"https://api.github.com/users/innayugay/repos","events_url":"https://api.github.com/users/innayugay/events{/privacy}","received_events_url":"https://api.github.com/users/innayugay/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-10T12:53:59Z","updated_at":"2018-09-14T21:34:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2457ea7dec2cb5f4d6726dc42418dc733a40e250","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396/commits","review_comments_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396/comments","review_comment_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/396/comments","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/statuses/652883db6864f1b06f84c91195ff177243c8a2a5","head":{"label":"innayugay:master","ref":"master","sha":"652883db6864f1b06f84c91195ff177243c8a2a5","user":{"login":"innayugay","id":42050743,"node_id":"MDQ6VXNlcjQyMDUwNzQz","avatar_url":"https://avatars1.githubusercontent.com/u/42050743?v=4","gravatar_id":"","url":"https://api.github.com/users/innayugay","html_url":"https://github.com/innayugay","followers_url":"https://api.github.com/users/innayugay/followers","following_url":"https://api.github.com/users/innayugay/following{/other_user}","gists_url":"https://api.github.com/users/innayugay/gists{/gist_id}","starred_url":"https://api.github.com/users/innayugay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innayugay/subscriptions","organizations_url":"https://api.github.com/users/innayugay/orgs","repos_url":"https://api.github.com/users/innayugay/repos","events_url":"https://api.github.com/users/innayugay/events{/privacy}","received_events_url":"https://api.github.com/users/innayugay/received_events","type":"User","site_admin":false},"repo":{"id":147866397,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjYzOTc=","name":"lab-mongoose-movies","full_name":"innayugay/lab-mongoose-movies","owner":{"login":"innayugay","id":42050743,"node_id":"MDQ6VXNlcjQyMDUwNzQz","avatar_url":"https://avatars1.githubusercontent.com/u/42050743?v=4","gravatar_id":"","url":"https://api.github.com/users/innayugay","html_url":"https://github.com/innayugay","followers_url":"https://api.github.com/users/innayugay/followers","following_url":"https://api.github.com/users/innayugay/following{/other_user}","gists_url":"https://api.github.com/users/innayugay/gists{/gist_id}","starred_url":"https://api.github.com/users/innayugay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innayugay/subscriptions","organizations_url":"https://api.github.com/users/innayugay/orgs","repos_url":"https://api.github.com/users/innayugay/repos","events_url":"https://api.github.com/users/innayugay/events{/privacy}","received_events_url":"https://api.github.com/users/innayugay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/innayugay/lab-mongoose-movies","description":null,"fork":true,"url":"https://api.github.com/repos/innayugay/lab-mongoose-movies","forks_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/forks","keys_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/teams","hooks_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/hooks","issue_events_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/issues/events{/number}","events_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/events","assignees_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/assignees{/user}","branches_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/branches{/branch}","tags_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/tags","blobs_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/git/refs{/sha}","trees_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/statuses/{sha}","languages_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/languages","stargazers_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/stargazers","contributors_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/contributors","subscribers_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/subscribers","subscription_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/subscription","commits_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/commits{/sha}","git_commits_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/git/commits{/sha}","comments_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/comments{/number}","issue_comment_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/issues/comments{/number}","contents_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/contents/{+path}","compare_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/merges","archive_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/downloads","issues_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/issues{/number}","pulls_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/pulls{/number}","milestones_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/milestones{/number}","notifications_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/labels{/name}","releases_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/releases{/id}","deployments_url":"https://api.github.com/repos/innayugay/lab-mongoose-movies/deployments","created_at":"2018-09-07T19:29:57Z","updated_at":"2018-09-10T19:15:51Z","pushed_at":"2018-09-10T19:15:50Z","git_url":"git://github.com/innayugay/lab-mongoose-movies.git","ssh_url":"git@github.com:innayugay/lab-mongoose-movies.git","clone_url":"https://github.com/innayugay/lab-mongoose-movies.git","svn_url":"https://github.com/innayugay/lab-mongoose-movies","homepage":null,"size":67,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ironhack-labs:master","ref":"master","sha":"41c5b2de3a7f953783bc2b754f7efa066c5ec791","user":{"login":"ironhack-labs","id":25032046,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDMyMDQ2","avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":79455281,"node_id":"MDEwOlJlcG9zaXRvcnk3OTQ1NTI4MQ==","name":"lab-mongoose-movies","full_name":"ironhack-labs/lab-mongoose-movies","owner":{"login":"ironhack-labs","id":25032046,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDMyMDQ2","avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ironhack-labs/lab-mongoose-movies","description":null,"fork":false,"url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies","forks_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/forks","keys_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/teams","hooks_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/hooks","issue_events_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/events{/number}","events_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/events","assignees_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/assignees{/user}","branches_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/branches{/branch}","tags_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/tags","blobs_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/statuses/{sha}","languages_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/languages","stargazers_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/stargazers","contributors_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/contributors","subscribers_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/subscribers","subscription_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/subscription","commits_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/contents/{+path}","compare_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/merges","archive_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/downloads","issues_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues{/number}","pulls_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls{/number}","milestones_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/milestones{/number}","notifications_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/labels{/name}","releases_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/releases{/id}","deployments_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/deployments","created_at":"2017-01-19T13:20:16Z","updated_at":"2017-01-19T13:20:16Z","pushed_at":"2018-09-14T01:46:39Z","git_url":"git://github.com/ironhack-labs/lab-mongoose-movies.git","ssh_url":"git@github.com:ironhack-labs/lab-mongoose-movies.git","clone_url":"https://github.com/ironhack-labs/lab-mongoose-movies.git","svn_url":"https://github.com/ironhack-labs/lab-mongoose-movies","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":641,"mirror_url":null,"archived":false,"open_issues_count":37,"license":null,"forks":641,"open_issues":37,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396"},"html":{"href":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/396"},"issue":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/396"},"comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/396/comments"},"review_comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396/comments"},"review_comment":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/396/commits"},"statuses":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/statuses/652883db6864f1b06f84c91195ff177243c8a2a5"}},"author_association":"NONE"}}
{"actor":{"display_login":"MarcosPalaciosIII"}}