{"action":"created","comment":{"url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/comments/75961277","id":75961277,"diff_hunk":"@@ -1,5 +1,17 @@\n import HttpStatus from 'http-status-codes';\n import Report from '../models/report';\n+import geolocationParser from '../libs/parse_geolocation';\n+\n+function show(req, res, next) {","path":"src/controllers/reports.js","position":5,"original_position":5,"commit_id":"00843aa47f9888ce6ba62ce320cf401134e066ef","original_commit_id":"00843aa47f9888ce6ba62ce320cf401134e066ef","user":{"login":"josigama","id":13666514,"avatar_url":"https://avatars.githubusercontent.com/u/13666514?v=3","gravatar_id":"","url":"https://api.github.com/users/josigama","html_url":"https://github.com/josigama","followers_url":"https://api.github.com/users/josigama/followers","following_url":"https://api.github.com/users/josigama/following{/other_user}","gists_url":"https://api.github.com/users/josigama/gists{/gist_id}","starred_url":"https://api.github.com/users/josigama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josigama/subscriptions","organizations_url":"https://api.github.com/users/josigama/orgs","repos_url":"https://api.github.com/users/josigama/repos","events_url":"https://api.github.com/users/josigama/events{/privacy}","received_events_url":"https://api.github.com/users/josigama/received_events","type":"User","site_admin":false},"body":"Não seria melhor se fosse request, response e next para ser mais legível? O que você acha? ","created_at":"2016-08-23T22:11:15Z","updated_at":"2016-08-23T22:11:15Z","html_url":"https://github.com/VamosJuntas/vamosjuntas-api/pull/11#discussion_r75961277","pull_request_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/comments/75961277"},"html":{"href":"https://github.com/VamosJuntas/vamosjuntas-api/pull/11#discussion_r75961277"},"pull_request":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11","id":81904005,"html_url":"https://github.com/VamosJuntas/vamosjuntas-api/pull/11","diff_url":"https://github.com/VamosJuntas/vamosjuntas-api/pull/11.diff","patch_url":"https://github.com/VamosJuntas/vamosjuntas-api/pull/11.patch","issue_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/11","number":11,"state":"open","locked":false,"title":"10 - Listar reports em um raio 1km a partir de uma geolocation","user":{"login":"wcalderipe","id":3832154,"avatar_url":"https://avatars.githubusercontent.com/u/3832154?v=3","gravatar_id":"","url":"https://api.github.com/users/wcalderipe","html_url":"https://github.com/wcalderipe","followers_url":"https://api.github.com/users/wcalderipe/followers","following_url":"https://api.github.com/users/wcalderipe/following{/other_user}","gists_url":"https://api.github.com/users/wcalderipe/gists{/gist_id}","starred_url":"https://api.github.com/users/wcalderipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcalderipe/subscriptions","organizations_url":"https://api.github.com/users/wcalderipe/orgs","repos_url":"https://api.github.com/users/wcalderipe/repos","events_url":"https://api.github.com/users/wcalderipe/events{/privacy}","received_events_url":"https://api.github.com/users/wcalderipe/received_events","type":"User","site_admin":false},"body":"closes #10 ","created_at":"2016-08-18T23:16:07Z","updated_at":"2016-08-23T22:11:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11/commits","review_comments_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11/comments","review_comment_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/11/comments","statuses_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/statuses/00843aa47f9888ce6ba62ce320cf401134e066ef","head":{"label":"VamosJuntas:feature/reports-controller-index-action","ref":"feature/reports-controller-index-action","sha":"00843aa47f9888ce6ba62ce320cf401134e066ef","user":{"login":"VamosJuntas","id":15790137,"avatar_url":"https://avatars.githubusercontent.com/u/15790137?v=3","gravatar_id":"","url":"https://api.github.com/users/VamosJuntas","html_url":"https://github.com/VamosJuntas","followers_url":"https://api.github.com/users/VamosJuntas/followers","following_url":"https://api.github.com/users/VamosJuntas/following{/other_user}","gists_url":"https://api.github.com/users/VamosJuntas/gists{/gist_id}","starred_url":"https://api.github.com/users/VamosJuntas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VamosJuntas/subscriptions","organizations_url":"https://api.github.com/users/VamosJuntas/orgs","repos_url":"https://api.github.com/users/VamosJuntas/repos","events_url":"https://api.github.com/users/VamosJuntas/events{/privacy}","received_events_url":"https://api.github.com/users/VamosJuntas/received_events","type":"Organization","site_admin":false},"repo":{"id":62346831,"name":"vamosjuntas-api","full_name":"VamosJuntas/vamosjuntas-api","owner":{"login":"VamosJuntas","id":15790137,"avatar_url":"https://avatars.githubusercontent.com/u/15790137?v=3","gravatar_id":"","url":"https://api.github.com/users/VamosJuntas","html_url":"https://github.com/VamosJuntas","followers_url":"https://api.github.com/users/VamosJuntas/followers","following_url":"https://api.github.com/users/VamosJuntas/following{/other_user}","gists_url":"https://api.github.com/users/VamosJuntas/gists{/gist_id}","starred_url":"https://api.github.com/users/VamosJuntas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VamosJuntas/subscriptions","organizations_url":"https://api.github.com/users/VamosJuntas/orgs","repos_url":"https://api.github.com/users/VamosJuntas/repos","events_url":"https://api.github.com/users/VamosJuntas/events{/privacy}","received_events_url":"https://api.github.com/users/VamosJuntas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VamosJuntas/vamosjuntas-api","description":"REST API do Vamos Juntas!","fork":false,"url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api","forks_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/forks","keys_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/teams","hooks_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/hooks","issue_events_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/events{/number}","events_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/events","assignees_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/assignees{/user}","branches_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/branches{/branch}","tags_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/tags","blobs_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/statuses/{sha}","languages_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/languages","stargazers_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/stargazers","contributors_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/contributors","subscribers_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/subscribers","subscription_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/subscription","commits_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/contents/{+path}","compare_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/merges","archive_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/downloads","issues_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues{/number}","pulls_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls{/number}","milestones_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/milestones{/number}","notifications_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/labels{/name}","releases_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/releases{/id}","deployments_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/deployments","created_at":"2016-06-30T22:46:26Z","updated_at":"2016-07-01T00:47:14Z","pushed_at":"2016-08-18T23:16:07Z","git_url":"git://github.com/VamosJuntas/vamosjuntas-api.git","ssh_url":"git@github.com:VamosJuntas/vamosjuntas-api.git","clone_url":"https://github.com/VamosJuntas/vamosjuntas-api.git","svn_url":"https://github.com/VamosJuntas/vamosjuntas-api","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"VamosJuntas:master","ref":"master","sha":"b9cd91b9625968972c39c631dc84ddab2fe0a280","user":{"login":"VamosJuntas","id":15790137,"avatar_url":"https://avatars.githubusercontent.com/u/15790137?v=3","gravatar_id":"","url":"https://api.github.com/users/VamosJuntas","html_url":"https://github.com/VamosJuntas","followers_url":"https://api.github.com/users/VamosJuntas/followers","following_url":"https://api.github.com/users/VamosJuntas/following{/other_user}","gists_url":"https://api.github.com/users/VamosJuntas/gists{/gist_id}","starred_url":"https://api.github.com/users/VamosJuntas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VamosJuntas/subscriptions","organizations_url":"https://api.github.com/users/VamosJuntas/orgs","repos_url":"https://api.github.com/users/VamosJuntas/repos","events_url":"https://api.github.com/users/VamosJuntas/events{/privacy}","received_events_url":"https://api.github.com/users/VamosJuntas/received_events","type":"Organization","site_admin":false},"repo":{"id":62346831,"name":"vamosjuntas-api","full_name":"VamosJuntas/vamosjuntas-api","owner":{"login":"VamosJuntas","id":15790137,"avatar_url":"https://avatars.githubusercontent.com/u/15790137?v=3","gravatar_id":"","url":"https://api.github.com/users/VamosJuntas","html_url":"https://github.com/VamosJuntas","followers_url":"https://api.github.com/users/VamosJuntas/followers","following_url":"https://api.github.com/users/VamosJuntas/following{/other_user}","gists_url":"https://api.github.com/users/VamosJuntas/gists{/gist_id}","starred_url":"https://api.github.com/users/VamosJuntas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VamosJuntas/subscriptions","organizations_url":"https://api.github.com/users/VamosJuntas/orgs","repos_url":"https://api.github.com/users/VamosJuntas/repos","events_url":"https://api.github.com/users/VamosJuntas/events{/privacy}","received_events_url":"https://api.github.com/users/VamosJuntas/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VamosJuntas/vamosjuntas-api","description":"REST API do Vamos Juntas!","fork":false,"url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api","forks_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/forks","keys_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/teams","hooks_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/hooks","issue_events_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/events{/number}","events_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/events","assignees_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/assignees{/user}","branches_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/branches{/branch}","tags_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/tags","blobs_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/statuses/{sha}","languages_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/languages","stargazers_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/stargazers","contributors_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/contributors","subscribers_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/subscribers","subscription_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/subscription","commits_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/contents/{+path}","compare_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/merges","archive_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/downloads","issues_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues{/number}","pulls_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls{/number}","milestones_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/milestones{/number}","notifications_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/labels{/name}","releases_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/releases{/id}","deployments_url":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/deployments","created_at":"2016-06-30T22:46:26Z","updated_at":"2016-07-01T00:47:14Z","pushed_at":"2016-08-18T23:16:07Z","git_url":"git://github.com/VamosJuntas/vamosjuntas-api.git","ssh_url":"git@github.com:VamosJuntas/vamosjuntas-api.git","clone_url":"https://github.com/VamosJuntas/vamosjuntas-api.git","svn_url":"https://github.com/VamosJuntas/vamosjuntas-api","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11"},"html":{"href":"https://github.com/VamosJuntas/vamosjuntas-api/pull/11"},"issue":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/11"},"comments":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/VamosJuntas/vamosjuntas-api/statuses/00843aa47f9888ce6ba62ce320cf401134e066ef"}}}}
{"actor":{"display_login":"josigama"}}