{"action":"created","comment":{"url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/comments/200499034","pull_request_review_id":134829130,"id":200499034,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDQ5OTAzNA==","diff_hunk":"@@ -14,12 +14,14 @@ module.exports = (Dieta, Prescricao, Acolhido) => (req, res) => {\n       if (!dieta) {\n         return res.render('pages/error')\n       }\n+\n       res.render('pages/editarDieta', {\n         acolhidoId: req.params.acolhido_id,\n         prescricaoId: req.params.prescricao_id,\n         dieta,\n+        tipoDoUsuario: req.user.tipo,","path":"src/routes/dieta/edit.js","position":9,"original_position":9,"commit_id":"ab933de211e0dc9ea76adcefb45519b2899533dc","original_commit_id":"ab933de211e0dc9ea76adcefb45519b2899533dc","user":{"login":"ghidorsi","id":15145105,"node_id":"MDQ6VXNlcjE1MTQ1MTA1","avatar_url":"https://avatars3.githubusercontent.com/u/15145105?v=4","gravatar_id":"","url":"https://api.github.com/users/ghidorsi","html_url":"https://github.com/ghidorsi","followers_url":"https://api.github.com/users/ghidorsi/followers","following_url":"https://api.github.com/users/ghidorsi/following{/other_user}","gists_url":"https://api.github.com/users/ghidorsi/gists{/gist_id}","starred_url":"https://api.github.com/users/ghidorsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghidorsi/subscriptions","organizations_url":"https://api.github.com/users/ghidorsi/orgs","repos_url":"https://api.github.com/users/ghidorsi/repos","events_url":"https://api.github.com/users/ghidorsi/events{/privacy}","received_events_url":"https://api.github.com/users/ghidorsi/received_events","type":"User","site_admin":false},"body":"https://github.com/aceleradora-TW/prescare/pull/68/files/2916acce28e1918dd1768d86965b6765e56e069e#r200497605","created_at":"2018-07-05T21:47:12Z","updated_at":"2018-07-05T21:49:19Z","html_url":"https://github.com/aceleradora-TW/prescare/pull/78#discussion_r200499034","pull_request_url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/comments/200499034"},"html":{"href":"https://github.com/aceleradora-TW/prescare/pull/78#discussion_r200499034"},"pull_request":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78","id":199539525,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NTM5NTI1","html_url":"https://github.com/aceleradora-TW/prescare/pull/78","diff_url":"https://github.com/aceleradora-TW/prescare/pull/78.diff","patch_url":"https://github.com/aceleradora-TW/prescare/pull/78.patch","issue_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues/78","number":78,"state":"open","locked":false,"title":"Suporte multiplas prescricoes","user":{"login":"EngelFlores","id":33928580,"node_id":"MDQ6VXNlcjMzOTI4NTgw","avatar_url":"https://avatars2.githubusercontent.com/u/33928580?v=4","gravatar_id":"","url":"https://api.github.com/users/EngelFlores","html_url":"https://github.com/EngelFlores","followers_url":"https://api.github.com/users/EngelFlores/followers","following_url":"https://api.github.com/users/EngelFlores/following{/other_user}","gists_url":"https://api.github.com/users/EngelFlores/gists{/gist_id}","starred_url":"https://api.github.com/users/EngelFlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EngelFlores/subscriptions","organizations_url":"https://api.github.com/users/EngelFlores/orgs","repos_url":"https://api.github.com/users/EngelFlores/repos","events_url":"https://api.github.com/users/EngelFlores/events{/privacy}","received_events_url":"https://api.github.com/users/EngelFlores/received_events","type":"User","site_admin":false},"body":"A clinica não pode abrir prescrições da neurologista e vice versa.","created_at":"2018-07-05T17:32:33Z","updated_at":"2018-07-05T21:49:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a17c2819480a55f0489f2b2a79b1839a9c30ca7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78/commits","review_comments_url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78/comments","review_comment_url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues/78/comments","statuses_url":"https://api.github.com/repos/aceleradora-TW/prescare/statuses/ab933de211e0dc9ea76adcefb45519b2899533dc","head":{"label":"aceleradora-TW:suporte-multiplas-prescricoes","ref":"suporte-multiplas-prescricoes","sha":"ab933de211e0dc9ea76adcefb45519b2899533dc","user":{"login":"aceleradora-TW","id":18720656,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzIwNjU2","avatar_url":"https://avatars0.githubusercontent.com/u/18720656?v=4","gravatar_id":"","url":"https://api.github.com/users/aceleradora-TW","html_url":"https://github.com/aceleradora-TW","followers_url":"https://api.github.com/users/aceleradora-TW/followers","following_url":"https://api.github.com/users/aceleradora-TW/following{/other_user}","gists_url":"https://api.github.com/users/aceleradora-TW/gists{/gist_id}","starred_url":"https://api.github.com/users/aceleradora-TW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aceleradora-TW/subscriptions","organizations_url":"https://api.github.com/users/aceleradora-TW/orgs","repos_url":"https://api.github.com/users/aceleradora-TW/repos","events_url":"https://api.github.com/users/aceleradora-TW/events{/privacy}","received_events_url":"https://api.github.com/users/aceleradora-TW/received_events","type":"Organization","site_admin":false},"repo":{"id":131876032,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4NzYwMzI=","name":"prescare","full_name":"aceleradora-TW/prescare","owner":{"login":"aceleradora-TW","id":18720656,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzIwNjU2","avatar_url":"https://avatars0.githubusercontent.com/u/18720656?v=4","gravatar_id":"","url":"https://api.github.com/users/aceleradora-TW","html_url":"https://github.com/aceleradora-TW","followers_url":"https://api.github.com/users/aceleradora-TW/followers","following_url":"https://api.github.com/users/aceleradora-TW/following{/other_user}","gists_url":"https://api.github.com/users/aceleradora-TW/gists{/gist_id}","starred_url":"https://api.github.com/users/aceleradora-TW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aceleradora-TW/subscriptions","organizations_url":"https://api.github.com/users/aceleradora-TW/orgs","repos_url":"https://api.github.com/users/aceleradora-TW/repos","events_url":"https://api.github.com/users/aceleradora-TW/events{/privacy}","received_events_url":"https://api.github.com/users/aceleradora-TW/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aceleradora-TW/prescare","description":"prescricao eletronica Menino Jesus de Praga","fork":false,"url":"https://api.github.com/repos/aceleradora-TW/prescare","forks_url":"https://api.github.com/repos/aceleradora-TW/prescare/forks","keys_url":"https://api.github.com/repos/aceleradora-TW/prescare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aceleradora-TW/prescare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aceleradora-TW/prescare/teams","hooks_url":"https://api.github.com/repos/aceleradora-TW/prescare/hooks","issue_events_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues/events{/number}","events_url":"https://api.github.com/repos/aceleradora-TW/prescare/events","assignees_url":"https://api.github.com/repos/aceleradora-TW/prescare/assignees{/user}","branches_url":"https://api.github.com/repos/aceleradora-TW/prescare/branches{/branch}","tags_url":"https://api.github.com/repos/aceleradora-TW/prescare/tags","blobs_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/refs{/sha}","trees_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aceleradora-TW/prescare/statuses/{sha}","languages_url":"https://api.github.com/repos/aceleradora-TW/prescare/languages","stargazers_url":"https://api.github.com/repos/aceleradora-TW/prescare/stargazers","contributors_url":"https://api.github.com/repos/aceleradora-TW/prescare/contributors","subscribers_url":"https://api.github.com/repos/aceleradora-TW/prescare/subscribers","subscription_url":"https://api.github.com/repos/aceleradora-TW/prescare/subscription","commits_url":"https://api.github.com/repos/aceleradora-TW/prescare/commits{/sha}","git_commits_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/commits{/sha}","comments_url":"https://api.github.com/repos/aceleradora-TW/prescare/comments{/number}","issue_comment_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues/comments{/number}","contents_url":"https://api.github.com/repos/aceleradora-TW/prescare/contents/{+path}","compare_url":"https://api.github.com/repos/aceleradora-TW/prescare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aceleradora-TW/prescare/merges","archive_url":"https://api.github.com/repos/aceleradora-TW/prescare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aceleradora-TW/prescare/downloads","issues_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues{/number}","pulls_url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls{/number}","milestones_url":"https://api.github.com/repos/aceleradora-TW/prescare/milestones{/number}","notifications_url":"https://api.github.com/repos/aceleradora-TW/prescare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aceleradora-TW/prescare/labels{/name}","releases_url":"https://api.github.com/repos/aceleradora-TW/prescare/releases{/id}","deployments_url":"https://api.github.com/repos/aceleradora-TW/prescare/deployments","created_at":"2018-05-02T16:13:09Z","updated_at":"2018-07-05T17:41:32Z","pushed_at":"2018-07-05T20:38:09Z","git_url":"git://github.com/aceleradora-TW/prescare.git","ssh_url":"git@github.com:aceleradora-TW/prescare.git","clone_url":"https://github.com/aceleradora-TW/prescare.git","svn_url":"https://github.com/aceleradora-TW/prescare","homepage":null,"size":4597,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":8,"default_branch":"master"}},"base":{"label":"aceleradora-TW:master","ref":"master","sha":"e4966200f104cfd6bd826f0e5597ad763e3f5b0e","user":{"login":"aceleradora-TW","id":18720656,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzIwNjU2","avatar_url":"https://avatars0.githubusercontent.com/u/18720656?v=4","gravatar_id":"","url":"https://api.github.com/users/aceleradora-TW","html_url":"https://github.com/aceleradora-TW","followers_url":"https://api.github.com/users/aceleradora-TW/followers","following_url":"https://api.github.com/users/aceleradora-TW/following{/other_user}","gists_url":"https://api.github.com/users/aceleradora-TW/gists{/gist_id}","starred_url":"https://api.github.com/users/aceleradora-TW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aceleradora-TW/subscriptions","organizations_url":"https://api.github.com/users/aceleradora-TW/orgs","repos_url":"https://api.github.com/users/aceleradora-TW/repos","events_url":"https://api.github.com/users/aceleradora-TW/events{/privacy}","received_events_url":"https://api.github.com/users/aceleradora-TW/received_events","type":"Organization","site_admin":false},"repo":{"id":131876032,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4NzYwMzI=","name":"prescare","full_name":"aceleradora-TW/prescare","owner":{"login":"aceleradora-TW","id":18720656,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzIwNjU2","avatar_url":"https://avatars0.githubusercontent.com/u/18720656?v=4","gravatar_id":"","url":"https://api.github.com/users/aceleradora-TW","html_url":"https://github.com/aceleradora-TW","followers_url":"https://api.github.com/users/aceleradora-TW/followers","following_url":"https://api.github.com/users/aceleradora-TW/following{/other_user}","gists_url":"https://api.github.com/users/aceleradora-TW/gists{/gist_id}","starred_url":"https://api.github.com/users/aceleradora-TW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aceleradora-TW/subscriptions","organizations_url":"https://api.github.com/users/aceleradora-TW/orgs","repos_url":"https://api.github.com/users/aceleradora-TW/repos","events_url":"https://api.github.com/users/aceleradora-TW/events{/privacy}","received_events_url":"https://api.github.com/users/aceleradora-TW/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aceleradora-TW/prescare","description":"prescricao eletronica Menino Jesus de Praga","fork":false,"url":"https://api.github.com/repos/aceleradora-TW/prescare","forks_url":"https://api.github.com/repos/aceleradora-TW/prescare/forks","keys_url":"https://api.github.com/repos/aceleradora-TW/prescare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aceleradora-TW/prescare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aceleradora-TW/prescare/teams","hooks_url":"https://api.github.com/repos/aceleradora-TW/prescare/hooks","issue_events_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues/events{/number}","events_url":"https://api.github.com/repos/aceleradora-TW/prescare/events","assignees_url":"https://api.github.com/repos/aceleradora-TW/prescare/assignees{/user}","branches_url":"https://api.github.com/repos/aceleradora-TW/prescare/branches{/branch}","tags_url":"https://api.github.com/repos/aceleradora-TW/prescare/tags","blobs_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/refs{/sha}","trees_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aceleradora-TW/prescare/statuses/{sha}","languages_url":"https://api.github.com/repos/aceleradora-TW/prescare/languages","stargazers_url":"https://api.github.com/repos/aceleradora-TW/prescare/stargazers","contributors_url":"https://api.github.com/repos/aceleradora-TW/prescare/contributors","subscribers_url":"https://api.github.com/repos/aceleradora-TW/prescare/subscribers","subscription_url":"https://api.github.com/repos/aceleradora-TW/prescare/subscription","commits_url":"https://api.github.com/repos/aceleradora-TW/prescare/commits{/sha}","git_commits_url":"https://api.github.com/repos/aceleradora-TW/prescare/git/commits{/sha}","comments_url":"https://api.github.com/repos/aceleradora-TW/prescare/comments{/number}","issue_comment_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues/comments{/number}","contents_url":"https://api.github.com/repos/aceleradora-TW/prescare/contents/{+path}","compare_url":"https://api.github.com/repos/aceleradora-TW/prescare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aceleradora-TW/prescare/merges","archive_url":"https://api.github.com/repos/aceleradora-TW/prescare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aceleradora-TW/prescare/downloads","issues_url":"https://api.github.com/repos/aceleradora-TW/prescare/issues{/number}","pulls_url":"https://api.github.com/repos/aceleradora-TW/prescare/pulls{/number}","milestones_url":"https://api.github.com/repos/aceleradora-TW/prescare/milestones{/number}","notifications_url":"https://api.github.com/repos/aceleradora-TW/prescare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aceleradora-TW/prescare/labels{/name}","releases_url":"https://api.github.com/repos/aceleradora-TW/prescare/releases{/id}","deployments_url":"https://api.github.com/repos/aceleradora-TW/prescare/deployments","created_at":"2018-05-02T16:13:09Z","updated_at":"2018-07-05T17:41:32Z","pushed_at":"2018-07-05T20:38:09Z","git_url":"git://github.com/aceleradora-TW/prescare.git","ssh_url":"git@github.com:aceleradora-TW/prescare.git","clone_url":"https://github.com/aceleradora-TW/prescare.git","svn_url":"https://github.com/aceleradora-TW/prescare","homepage":null,"size":4597,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78"},"html":{"href":"https://github.com/aceleradora-TW/prescare/pull/78"},"issue":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/issues/78"},"comments":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/aceleradora-TW/prescare/statuses/ab933de211e0dc9ea76adcefb45519b2899533dc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ghidorsi"}}