{"action":"created","comment":{"url":"https://api.github.com/repos/neaxx/forum-app/pulls/comments/184857803","pull_request_review_id":116140891,"id":184857803,"diff_hunk":"@@ -0,0 +1,28 @@\n+const express = require('express');\n+\n+\n+const Thread = require('../models/Thread');\n+\n+\n+const router = express.Router();\n+\n+\n+\n+\n+\n+\n+router.get('/', async (req, res) => {\n+\n+\tconst threads = await Thread.find();\n+\n+ res.json({\n+\n+   data: threads ,\n+\n+ });\n+\n+});\n+\n+\n+\n+module.exports = router; ","path":"server/src/routes/threads.js","position":28,"original_position":28,"commit_id":"9805ddfb7bc10216ab1532bb97d0da1a2d86dd2a","original_commit_id":"9805ddfb7bc10216ab1532bb97d0da1a2d86dd2a","user":{"login":"chris-fa","id":22173137,"avatar_url":"https://avatars0.githubusercontent.com/u/22173137?v=4","gravatar_id":"","url":"https://api.github.com/users/chris-fa","html_url":"https://github.com/chris-fa","followers_url":"https://api.github.com/users/chris-fa/followers","following_url":"https://api.github.com/users/chris-fa/following{/other_user}","gists_url":"https://api.github.com/users/chris-fa/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-fa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-fa/subscriptions","organizations_url":"https://api.github.com/users/chris-fa/orgs","repos_url":"https://api.github.com/users/chris-fa/repos","events_url":"https://api.github.com/users/chris-fa/events{/privacy}","received_events_url":"https://api.github.com/users/chris-fa/received_events","type":"User","site_admin":false},"body":"Arregla la indentación a 2 espacios por subnivel, y las líneas en blanco que no muestran una segmentación lógica, de todo este archivo","created_at":"2018-04-28T15:42:16Z","updated_at":"2018-04-28T15:44:14Z","html_url":"https://github.com/neaxx/forum-app/pull/6#discussion_r184857803","pull_request_url":"https://api.github.com/repos/neaxx/forum-app/pulls/6","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/neaxx/forum-app/pulls/comments/184857803"},"html":{"href":"https://github.com/neaxx/forum-app/pull/6#discussion_r184857803"},"pull_request":{"href":"https://api.github.com/repos/neaxx/forum-app/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/neaxx/forum-app/pulls/6","id":181656844,"html_url":"https://github.com/neaxx/forum-app/pull/6","diff_url":"https://github.com/neaxx/forum-app/pull/6.diff","patch_url":"https://github.com/neaxx/forum-app/pull/6.patch","issue_url":"https://api.github.com/repos/neaxx/forum-app/issues/6","number":6,"state":"open","locked":false,"title":"Issue/1","user":{"login":"neaxx","id":36781709,"avatar_url":"https://avatars3.githubusercontent.com/u/36781709?v=4","gravatar_id":"","url":"https://api.github.com/users/neaxx","html_url":"https://github.com/neaxx","followers_url":"https://api.github.com/users/neaxx/followers","following_url":"https://api.github.com/users/neaxx/following{/other_user}","gists_url":"https://api.github.com/users/neaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/neaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaxx/subscriptions","organizations_url":"https://api.github.com/users/neaxx/orgs","repos_url":"https://api.github.com/users/neaxx/repos","events_url":"https://api.github.com/users/neaxx/events{/privacy}","received_events_url":"https://api.github.com/users/neaxx/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-14T16:59:19Z","updated_at":"2018-04-28T15:44:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6b148bea120cea3fb69153a3748ea4861b90a12","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neaxx/forum-app/pulls/6/commits","review_comments_url":"https://api.github.com/repos/neaxx/forum-app/pulls/6/comments","review_comment_url":"https://api.github.com/repos/neaxx/forum-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neaxx/forum-app/issues/6/comments","statuses_url":"https://api.github.com/repos/neaxx/forum-app/statuses/9805ddfb7bc10216ab1532bb97d0da1a2d86dd2a","head":{"label":"neaxx:issue/1","ref":"issue/1","sha":"9805ddfb7bc10216ab1532bb97d0da1a2d86dd2a","user":{"login":"neaxx","id":36781709,"avatar_url":"https://avatars3.githubusercontent.com/u/36781709?v=4","gravatar_id":"","url":"https://api.github.com/users/neaxx","html_url":"https://github.com/neaxx","followers_url":"https://api.github.com/users/neaxx/followers","following_url":"https://api.github.com/users/neaxx/following{/other_user}","gists_url":"https://api.github.com/users/neaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/neaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaxx/subscriptions","organizations_url":"https://api.github.com/users/neaxx/orgs","repos_url":"https://api.github.com/users/neaxx/repos","events_url":"https://api.github.com/users/neaxx/events{/privacy}","received_events_url":"https://api.github.com/users/neaxx/received_events","type":"User","site_admin":false},"repo":{"id":124675766,"name":"forum-app","full_name":"neaxx/forum-app","owner":{"login":"neaxx","id":36781709,"avatar_url":"https://avatars3.githubusercontent.com/u/36781709?v=4","gravatar_id":"","url":"https://api.github.com/users/neaxx","html_url":"https://github.com/neaxx","followers_url":"https://api.github.com/users/neaxx/followers","following_url":"https://api.github.com/users/neaxx/following{/other_user}","gists_url":"https://api.github.com/users/neaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/neaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaxx/subscriptions","organizations_url":"https://api.github.com/users/neaxx/orgs","repos_url":"https://api.github.com/users/neaxx/repos","events_url":"https://api.github.com/users/neaxx/events{/privacy}","received_events_url":"https://api.github.com/users/neaxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neaxx/forum-app","description":null,"fork":false,"url":"https://api.github.com/repos/neaxx/forum-app","forks_url":"https://api.github.com/repos/neaxx/forum-app/forks","keys_url":"https://api.github.com/repos/neaxx/forum-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neaxx/forum-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neaxx/forum-app/teams","hooks_url":"https://api.github.com/repos/neaxx/forum-app/hooks","issue_events_url":"https://api.github.com/repos/neaxx/forum-app/issues/events{/number}","events_url":"https://api.github.com/repos/neaxx/forum-app/events","assignees_url":"https://api.github.com/repos/neaxx/forum-app/assignees{/user}","branches_url":"https://api.github.com/repos/neaxx/forum-app/branches{/branch}","tags_url":"https://api.github.com/repos/neaxx/forum-app/tags","blobs_url":"https://api.github.com/repos/neaxx/forum-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neaxx/forum-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neaxx/forum-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/neaxx/forum-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neaxx/forum-app/statuses/{sha}","languages_url":"https://api.github.com/repos/neaxx/forum-app/languages","stargazers_url":"https://api.github.com/repos/neaxx/forum-app/stargazers","contributors_url":"https://api.github.com/repos/neaxx/forum-app/contributors","subscribers_url":"https://api.github.com/repos/neaxx/forum-app/subscribers","subscription_url":"https://api.github.com/repos/neaxx/forum-app/subscription","commits_url":"https://api.github.com/repos/neaxx/forum-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/neaxx/forum-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/neaxx/forum-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/neaxx/forum-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/neaxx/forum-app/contents/{+path}","compare_url":"https://api.github.com/repos/neaxx/forum-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neaxx/forum-app/merges","archive_url":"https://api.github.com/repos/neaxx/forum-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neaxx/forum-app/downloads","issues_url":"https://api.github.com/repos/neaxx/forum-app/issues{/number}","pulls_url":"https://api.github.com/repos/neaxx/forum-app/pulls{/number}","milestones_url":"https://api.github.com/repos/neaxx/forum-app/milestones{/number}","notifications_url":"https://api.github.com/repos/neaxx/forum-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neaxx/forum-app/labels{/name}","releases_url":"https://api.github.com/repos/neaxx/forum-app/releases{/id}","deployments_url":"https://api.github.com/repos/neaxx/forum-app/deployments","created_at":"2018-03-10T16:45:02Z","updated_at":"2018-04-14T17:04:51Z","pushed_at":"2018-04-14T18:32:00Z","git_url":"git://github.com/neaxx/forum-app.git","ssh_url":"git@github.com:neaxx/forum-app.git","clone_url":"https://github.com/neaxx/forum-app.git","svn_url":"https://github.com/neaxx/forum-app","homepage":null,"size":152,"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":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"neaxx:master","ref":"master","sha":"799f55c1cafa5bbb3c7c8d604cdec5f97ae9ca2a","user":{"login":"neaxx","id":36781709,"avatar_url":"https://avatars3.githubusercontent.com/u/36781709?v=4","gravatar_id":"","url":"https://api.github.com/users/neaxx","html_url":"https://github.com/neaxx","followers_url":"https://api.github.com/users/neaxx/followers","following_url":"https://api.github.com/users/neaxx/following{/other_user}","gists_url":"https://api.github.com/users/neaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/neaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaxx/subscriptions","organizations_url":"https://api.github.com/users/neaxx/orgs","repos_url":"https://api.github.com/users/neaxx/repos","events_url":"https://api.github.com/users/neaxx/events{/privacy}","received_events_url":"https://api.github.com/users/neaxx/received_events","type":"User","site_admin":false},"repo":{"id":124675766,"name":"forum-app","full_name":"neaxx/forum-app","owner":{"login":"neaxx","id":36781709,"avatar_url":"https://avatars3.githubusercontent.com/u/36781709?v=4","gravatar_id":"","url":"https://api.github.com/users/neaxx","html_url":"https://github.com/neaxx","followers_url":"https://api.github.com/users/neaxx/followers","following_url":"https://api.github.com/users/neaxx/following{/other_user}","gists_url":"https://api.github.com/users/neaxx/gists{/gist_id}","starred_url":"https://api.github.com/users/neaxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neaxx/subscriptions","organizations_url":"https://api.github.com/users/neaxx/orgs","repos_url":"https://api.github.com/users/neaxx/repos","events_url":"https://api.github.com/users/neaxx/events{/privacy}","received_events_url":"https://api.github.com/users/neaxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neaxx/forum-app","description":null,"fork":false,"url":"https://api.github.com/repos/neaxx/forum-app","forks_url":"https://api.github.com/repos/neaxx/forum-app/forks","keys_url":"https://api.github.com/repos/neaxx/forum-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neaxx/forum-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neaxx/forum-app/teams","hooks_url":"https://api.github.com/repos/neaxx/forum-app/hooks","issue_events_url":"https://api.github.com/repos/neaxx/forum-app/issues/events{/number}","events_url":"https://api.github.com/repos/neaxx/forum-app/events","assignees_url":"https://api.github.com/repos/neaxx/forum-app/assignees{/user}","branches_url":"https://api.github.com/repos/neaxx/forum-app/branches{/branch}","tags_url":"https://api.github.com/repos/neaxx/forum-app/tags","blobs_url":"https://api.github.com/repos/neaxx/forum-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neaxx/forum-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neaxx/forum-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/neaxx/forum-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neaxx/forum-app/statuses/{sha}","languages_url":"https://api.github.com/repos/neaxx/forum-app/languages","stargazers_url":"https://api.github.com/repos/neaxx/forum-app/stargazers","contributors_url":"https://api.github.com/repos/neaxx/forum-app/contributors","subscribers_url":"https://api.github.com/repos/neaxx/forum-app/subscribers","subscription_url":"https://api.github.com/repos/neaxx/forum-app/subscription","commits_url":"https://api.github.com/repos/neaxx/forum-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/neaxx/forum-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/neaxx/forum-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/neaxx/forum-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/neaxx/forum-app/contents/{+path}","compare_url":"https://api.github.com/repos/neaxx/forum-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neaxx/forum-app/merges","archive_url":"https://api.github.com/repos/neaxx/forum-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neaxx/forum-app/downloads","issues_url":"https://api.github.com/repos/neaxx/forum-app/issues{/number}","pulls_url":"https://api.github.com/repos/neaxx/forum-app/pulls{/number}","milestones_url":"https://api.github.com/repos/neaxx/forum-app/milestones{/number}","notifications_url":"https://api.github.com/repos/neaxx/forum-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neaxx/forum-app/labels{/name}","releases_url":"https://api.github.com/repos/neaxx/forum-app/releases{/id}","deployments_url":"https://api.github.com/repos/neaxx/forum-app/deployments","created_at":"2018-03-10T16:45:02Z","updated_at":"2018-04-14T17:04:51Z","pushed_at":"2018-04-14T18:32:00Z","git_url":"git://github.com/neaxx/forum-app.git","ssh_url":"git@github.com:neaxx/forum-app.git","clone_url":"https://github.com/neaxx/forum-app.git","svn_url":"https://github.com/neaxx/forum-app","homepage":null,"size":152,"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":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neaxx/forum-app/pulls/6"},"html":{"href":"https://github.com/neaxx/forum-app/pull/6"},"issue":{"href":"https://api.github.com/repos/neaxx/forum-app/issues/6"},"comments":{"href":"https://api.github.com/repos/neaxx/forum-app/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/neaxx/forum-app/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/neaxx/forum-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neaxx/forum-app/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/neaxx/forum-app/statuses/9805ddfb7bc10216ab1532bb97d0da1a2d86dd2a"}},"author_association":"OWNER"}}
{"actor":{"display_login":"chris-fa"}}