{"action":"created","comment":{"url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/comments/55397483","id":55397483,"diff_hunk":"@@ -0,0 +1,82 @@\n+var Todo = require('./models/todo')(Todo);\n+\n+module.exports = (server) => {\n+    //Test 1: Create a Todo\n+    server.post('/todos', async (req, res, next) => {\n+        try {\n+            let objects = await Todo.create({","path":"routes.js","position":7,"original_position":7,"commit_id":"8afa677e3eb11e1717c56e1b535c4f464d2ba7e6","original_commit_id":"8afa677e3eb11e1717c56e1b535c4f464d2ba7e6","user":{"login":"bgoldman","id":160560,"avatar_url":"https://avatars.githubusercontent.com/u/160560?v=3","gravatar_id":"","url":"https://api.github.com/users/bgoldman","html_url":"https://github.com/bgoldman","followers_url":"https://api.github.com/users/bgoldman/followers","following_url":"https://api.github.com/users/bgoldman/following{/other_user}","gists_url":"https://api.github.com/users/bgoldman/gists{/gist_id}","starred_url":"https://api.github.com/users/bgoldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgoldman/subscriptions","organizations_url":"https://api.github.com/users/bgoldman/orgs","repos_url":"https://api.github.com/users/bgoldman/repos","events_url":"https://api.github.com/users/bgoldman/events{/privacy}","received_events_url":"https://api.github.com/users/bgoldman/received_events","type":"User","site_admin":false},"body":"Why call this objects? It's just one.\r\n\r\nAlso use `const` instead of `let`","created_at":"2016-03-08T17:51:04Z","updated_at":"2016-03-08T17:51:04Z","html_url":"https://github.com/NicoHinderling/todomvc-project/pull/2#discussion_r55397483","pull_request_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/comments/55397483"},"html":{"href":"https://github.com/NicoHinderling/todomvc-project/pull/2#discussion_r55397483"},"pull_request":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2","id":60258664,"html_url":"https://github.com/NicoHinderling/todomvc-project/pull/2","diff_url":"https://github.com/NicoHinderling/todomvc-project/pull/2.diff","patch_url":"https://github.com/NicoHinderling/todomvc-project/pull/2.patch","issue_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/2","number":2,"state":"open","locked":false,"title":"Dev","user":{"login":"NicoHinderling","id":9902528,"avatar_url":"https://avatars.githubusercontent.com/u/9902528?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHinderling","html_url":"https://github.com/NicoHinderling","followers_url":"https://api.github.com/users/NicoHinderling/followers","following_url":"https://api.github.com/users/NicoHinderling/following{/other_user}","gists_url":"https://api.github.com/users/NicoHinderling/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHinderling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHinderling/subscriptions","organizations_url":"https://api.github.com/users/NicoHinderling/orgs","repos_url":"https://api.github.com/users/NicoHinderling/repos","events_url":"https://api.github.com/users/NicoHinderling/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHinderling/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-22T23:11:54Z","updated_at":"2016-03-08T17:51:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71af732038a6f7f98b40d29e09b86cebeea758ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2/commits","review_comments_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2/comments","review_comment_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/2/comments","statuses_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/statuses/8afa677e3eb11e1717c56e1b535c4f464d2ba7e6","head":{"label":"NicoHinderling:dev","ref":"dev","sha":"8afa677e3eb11e1717c56e1b535c4f464d2ba7e6","user":{"login":"NicoHinderling","id":9902528,"avatar_url":"https://avatars.githubusercontent.com/u/9902528?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHinderling","html_url":"https://github.com/NicoHinderling","followers_url":"https://api.github.com/users/NicoHinderling/followers","following_url":"https://api.github.com/users/NicoHinderling/following{/other_user}","gists_url":"https://api.github.com/users/NicoHinderling/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHinderling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHinderling/subscriptions","organizations_url":"https://api.github.com/users/NicoHinderling/orgs","repos_url":"https://api.github.com/users/NicoHinderling/repos","events_url":"https://api.github.com/users/NicoHinderling/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHinderling/received_events","type":"User","site_admin":false},"repo":{"id":52231798,"name":"todomvc-project","full_name":"NicoHinderling/todomvc-project","owner":{"login":"NicoHinderling","id":9902528,"avatar_url":"https://avatars.githubusercontent.com/u/9902528?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHinderling","html_url":"https://github.com/NicoHinderling","followers_url":"https://api.github.com/users/NicoHinderling/followers","following_url":"https://api.github.com/users/NicoHinderling/following{/other_user}","gists_url":"https://api.github.com/users/NicoHinderling/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHinderling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHinderling/subscriptions","organizations_url":"https://api.github.com/users/NicoHinderling/orgs","repos_url":"https://api.github.com/users/NicoHinderling/repos","events_url":"https://api.github.com/users/NicoHinderling/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHinderling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NicoHinderling/todomvc-project","description":"","fork":false,"url":"https://api.github.com/repos/NicoHinderling/todomvc-project","forks_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/forks","keys_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/teams","hooks_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/hooks","issue_events_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/events{/number}","events_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/events","assignees_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/assignees{/user}","branches_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/branches{/branch}","tags_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/tags","blobs_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/statuses/{sha}","languages_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/languages","stargazers_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/stargazers","contributors_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/contributors","subscribers_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/subscribers","subscription_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/subscription","commits_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/contents/{+path}","compare_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/merges","archive_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/downloads","issues_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues{/number}","pulls_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls{/number}","milestones_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/milestones{/number}","notifications_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/labels{/name}","releases_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/releases{/id}","deployments_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/deployments","created_at":"2016-02-21T22:36:01Z","updated_at":"2016-02-21T22:36:01Z","pushed_at":"2016-03-08T00:50:26Z","git_url":"git://github.com/NicoHinderling/todomvc-project.git","ssh_url":"git@github.com:NicoHinderling/todomvc-project.git","clone_url":"https://github.com/NicoHinderling/todomvc-project.git","svn_url":"https://github.com/NicoHinderling/todomvc-project","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":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":"master"}},"base":{"label":"NicoHinderling:master","ref":"master","sha":"543e06f76b7e6963bf34954efae49f62666d1c29","user":{"login":"NicoHinderling","id":9902528,"avatar_url":"https://avatars.githubusercontent.com/u/9902528?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHinderling","html_url":"https://github.com/NicoHinderling","followers_url":"https://api.github.com/users/NicoHinderling/followers","following_url":"https://api.github.com/users/NicoHinderling/following{/other_user}","gists_url":"https://api.github.com/users/NicoHinderling/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHinderling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHinderling/subscriptions","organizations_url":"https://api.github.com/users/NicoHinderling/orgs","repos_url":"https://api.github.com/users/NicoHinderling/repos","events_url":"https://api.github.com/users/NicoHinderling/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHinderling/received_events","type":"User","site_admin":false},"repo":{"id":52231798,"name":"todomvc-project","full_name":"NicoHinderling/todomvc-project","owner":{"login":"NicoHinderling","id":9902528,"avatar_url":"https://avatars.githubusercontent.com/u/9902528?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHinderling","html_url":"https://github.com/NicoHinderling","followers_url":"https://api.github.com/users/NicoHinderling/followers","following_url":"https://api.github.com/users/NicoHinderling/following{/other_user}","gists_url":"https://api.github.com/users/NicoHinderling/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHinderling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHinderling/subscriptions","organizations_url":"https://api.github.com/users/NicoHinderling/orgs","repos_url":"https://api.github.com/users/NicoHinderling/repos","events_url":"https://api.github.com/users/NicoHinderling/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHinderling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NicoHinderling/todomvc-project","description":"","fork":false,"url":"https://api.github.com/repos/NicoHinderling/todomvc-project","forks_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/forks","keys_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/teams","hooks_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/hooks","issue_events_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/events{/number}","events_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/events","assignees_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/assignees{/user}","branches_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/branches{/branch}","tags_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/tags","blobs_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/statuses/{sha}","languages_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/languages","stargazers_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/stargazers","contributors_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/contributors","subscribers_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/subscribers","subscription_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/subscription","commits_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/contents/{+path}","compare_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/merges","archive_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/downloads","issues_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues{/number}","pulls_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls{/number}","milestones_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/milestones{/number}","notifications_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/labels{/name}","releases_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/releases{/id}","deployments_url":"https://api.github.com/repos/NicoHinderling/todomvc-project/deployments","created_at":"2016-02-21T22:36:01Z","updated_at":"2016-02-21T22:36:01Z","pushed_at":"2016-03-08T00:50:26Z","git_url":"git://github.com/NicoHinderling/todomvc-project.git","ssh_url":"git@github.com:NicoHinderling/todomvc-project.git","clone_url":"https://github.com/NicoHinderling/todomvc-project.git","svn_url":"https://github.com/NicoHinderling/todomvc-project","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2"},"html":{"href":"https://github.com/NicoHinderling/todomvc-project/pull/2"},"issue":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/2"},"comments":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/NicoHinderling/todomvc-project/statuses/8afa677e3eb11e1717c56e1b535c4f464d2ba7e6"}}}}