{"action":"created","comment":{"url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/comments/235145425","pull_request_review_id":176945129,"id":235145425,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTE0NTQyNQ==","diff_hunk":"@@ -0,0 +1,74 @@\n+const express = require('express');\n+const router  = express.Router();\n+const Celebrity = require(\"../models/Celebrity.js\");\n+\n+router.get(\"/celebrities\" , (req, res, next) => {\n+  Celebrity.find()\n+    .then(data => {\n+      res.render(\"celebrities/index\", { data });\n+    })\n+    .catch(error => {\n+      console.log(error);\n+    });\n+});\n+router.get('/new', (req,res) => res.render('celebrities/new'));\n+router.post(\"/celebrities\", (req, res, next) => {\n+  const {name,occupation,catchPrhase} = req.body;\n+  const newCelebrity = new Celebrity({name,occupation,catchPrhase})","path":"starter-code/routes/celebrities.js","position":17,"original_position":17,"commit_id":"36f8c0fc90df94fdeed34aaa4e8a28fbaee51635","original_commit_id":"36f8c0fc90df94fdeed34aaa4e8a28fbaee51635","user":{"login":"ta-web-mad","id":26923217,"node_id":"MDQ6VXNlcjI2OTIzMjE3","avatar_url":"https://avatars3.githubusercontent.com/u/26923217?v=4","gravatar_id":"","url":"https://api.github.com/users/ta-web-mad","html_url":"https://github.com/ta-web-mad","followers_url":"https://api.github.com/users/ta-web-mad/followers","following_url":"https://api.github.com/users/ta-web-mad/following{/other_user}","gists_url":"https://api.github.com/users/ta-web-mad/gists{/gist_id}","starred_url":"https://api.github.com/users/ta-web-mad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta-web-mad/subscriptions","organizations_url":"https://api.github.com/users/ta-web-mad/orgs","repos_url":"https://api.github.com/users/ta-web-mad/repos","events_url":"https://api.github.com/users/ta-web-mad/events{/privacy}","received_events_url":"https://api.github.com/users/ta-web-mad/received_events","type":"User","site_admin":false},"body":"You have a spelling mistake, that is why the `catchPhrase` is not been save in the database... 😉 ","created_at":"2018-11-20T19:47:08Z","updated_at":"2018-11-20T19:47:09Z","html_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/492#discussion_r235145425","pull_request_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/comments/235145425"},"html":{"href":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/492#discussion_r235145425"},"pull_request":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492"}}},"pull_request":{"url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492","id":231669573,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNjY5NTcz","html_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/492","diff_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/492.diff","patch_url":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/492.patch","issue_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/492","number":492,"state":"open","locked":false,"title":"[WEB-PT-MAD02] Aaron Reina","user":{"login":"AaronReina","id":41949570,"node_id":"MDQ6VXNlcjQxOTQ5NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/41949570?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronReina","html_url":"https://github.com/AaronReina","followers_url":"https://api.github.com/users/AaronReina/followers","following_url":"https://api.github.com/users/AaronReina/following{/other_user}","gists_url":"https://api.github.com/users/AaronReina/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronReina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronReina/subscriptions","organizations_url":"https://api.github.com/users/AaronReina/orgs","repos_url":"https://api.github.com/users/AaronReina/repos","events_url":"https://api.github.com/users/AaronReina/events{/privacy}","received_events_url":"https://api.github.com/users/AaronReina/received_events","type":"User","site_admin":false},"body":"No me da tiempo a cortar y pegar para hacer lo de movies.\r\nTampoco al css.","created_at":"2018-11-16T22:10:52Z","updated_at":"2018-11-20T19:47:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1db9abf62d3708da3a438febfb2243f4398083e6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492/commits","review_comments_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492/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/492/comments","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/statuses/36f8c0fc90df94fdeed34aaa4e8a28fbaee51635","head":{"label":"AaronReina:master","ref":"master","sha":"36f8c0fc90df94fdeed34aaa4e8a28fbaee51635","user":{"login":"AaronReina","id":41949570,"node_id":"MDQ6VXNlcjQxOTQ5NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/41949570?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronReina","html_url":"https://github.com/AaronReina","followers_url":"https://api.github.com/users/AaronReina/followers","following_url":"https://api.github.com/users/AaronReina/following{/other_user}","gists_url":"https://api.github.com/users/AaronReina/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronReina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronReina/subscriptions","organizations_url":"https://api.github.com/users/AaronReina/orgs","repos_url":"https://api.github.com/users/AaronReina/repos","events_url":"https://api.github.com/users/AaronReina/events{/privacy}","received_events_url":"https://api.github.com/users/AaronReina/received_events","type":"User","site_admin":false},"repo":{"id":157778434,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc3Nzg0MzQ=","name":"lab-mongoose-movies","full_name":"AaronReina/lab-mongoose-movies","private":false,"owner":{"login":"AaronReina","id":41949570,"node_id":"MDQ6VXNlcjQxOTQ5NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/41949570?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronReina","html_url":"https://github.com/AaronReina","followers_url":"https://api.github.com/users/AaronReina/followers","following_url":"https://api.github.com/users/AaronReina/following{/other_user}","gists_url":"https://api.github.com/users/AaronReina/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronReina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronReina/subscriptions","organizations_url":"https://api.github.com/users/AaronReina/orgs","repos_url":"https://api.github.com/users/AaronReina/repos","events_url":"https://api.github.com/users/AaronReina/events{/privacy}","received_events_url":"https://api.github.com/users/AaronReina/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AaronReina/lab-mongoose-movies","description":null,"fork":true,"url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies","forks_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/forks","keys_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/teams","hooks_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/hooks","issue_events_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/issues/events{/number}","events_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/events","assignees_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/assignees{/user}","branches_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/branches{/branch}","tags_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/tags","blobs_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/git/refs{/sha}","trees_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/statuses/{sha}","languages_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/languages","stargazers_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/stargazers","contributors_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/contributors","subscribers_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/subscribers","subscription_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/subscription","commits_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/commits{/sha}","git_commits_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/git/commits{/sha}","comments_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/comments{/number}","issue_comment_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/issues/comments{/number}","contents_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/contents/{+path}","compare_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/merges","archive_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/downloads","issues_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/issues{/number}","pulls_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/pulls{/number}","milestones_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/milestones{/number}","notifications_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/labels{/name}","releases_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/releases{/id}","deployments_url":"https://api.github.com/repos/AaronReina/lab-mongoose-movies/deployments","created_at":"2018-11-15T22:03:21Z","updated_at":"2018-11-16T22:09:19Z","pushed_at":"2018-11-16T22:09:17Z","git_url":"git://github.com/AaronReina/lab-mongoose-movies.git","ssh_url":"git@github.com:AaronReina/lab-mongoose-movies.git","clone_url":"https://github.com/AaronReina/lab-mongoose-movies.git","svn_url":"https://github.com/AaronReina/lab-mongoose-movies","homepage":null,"size":69,"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":"32a8f8468659754c5fc07274f0340f76066fa0c6","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","private":false,"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},"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":"2018-10-26T20:02:02Z","pushed_at":"2018-11-20T18:56:10Z","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":61,"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":815,"mirror_url":null,"archived":false,"open_issues_count":77,"license":null,"forks":815,"open_issues":77,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492"},"html":{"href":"https://github.com/ironhack-labs/lab-mongoose-movies/pull/492"},"issue":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/492"},"comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/issues/492/comments"},"review_comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/pulls/492/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/492/commits"},"statuses":{"href":"https://api.github.com/repos/ironhack-labs/lab-mongoose-movies/statuses/36f8c0fc90df94fdeed34aaa4e8a28fbaee51635"}},"author_association":"NONE"}}
{"actor":{"display_login":"ta-web-mad"}}