{"action":"created","comment":{"url":"https://api.github.com/repos/FACG5/voyage/pulls/comments/218310182","pull_request_review_id":156216322,"id":218310182,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODMxMDE4Mg==","diff_hunk":"@@ -0,0 +1,14 @@\n+const { verify } = require('jsonwebtoken');\n+\n+exports.isSingIn = (req, res, next) => {","path":"src/middlewares/checkauth.js","position":3,"original_position":3,"commit_id":"7f8b72f4378cb39c1f4335b8817cce5389cd5f5c","original_commit_id":"7f8b72f4378cb39c1f4335b8817cce5389cd5f5c","user":{"login":"FarahZaqout","id":25854070,"node_id":"MDQ6VXNlcjI1ODU0MDcw","avatar_url":"https://avatars0.githubusercontent.com/u/25854070?v=4","gravatar_id":"","url":"https://api.github.com/users/FarahZaqout","html_url":"https://github.com/FarahZaqout","followers_url":"https://api.github.com/users/FarahZaqout/followers","following_url":"https://api.github.com/users/FarahZaqout/following{/other_user}","gists_url":"https://api.github.com/users/FarahZaqout/gists{/gist_id}","starred_url":"https://api.github.com/users/FarahZaqout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FarahZaqout/subscriptions","organizations_url":"https://api.github.com/users/FarahZaqout/orgs","repos_url":"https://api.github.com/users/FarahZaqout/repos","events_url":"https://api.github.com/users/FarahZaqout/events{/privacy}","received_events_url":"https://api.github.com/users/FarahZaqout/received_events","type":"User","site_admin":false},"body":"spelling error in name. function should be named ``isSignIn``` or ```isSignedIn``` which would be a bit more accurate, but regardless, the spelling error in the word ```sign``` can cause a lot of problems when other people are trying to use the module.","created_at":"2018-09-18T06:22:48Z","updated_at":"2018-09-18T06:28:15Z","html_url":"https://github.com/FACG5/voyage/pull/34#discussion_r218310182","pull_request_url":"https://api.github.com/repos/FACG5/voyage/pulls/34","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/FACG5/voyage/pulls/comments/218310182"},"html":{"href":"https://github.com/FACG5/voyage/pull/34#discussion_r218310182"},"pull_request":{"href":"https://api.github.com/repos/FACG5/voyage/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/FACG5/voyage/pulls/34","id":216110785,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MTEwNzg1","html_url":"https://github.com/FACG5/voyage/pull/34","diff_url":"https://github.com/FACG5/voyage/pull/34.diff","patch_url":"https://github.com/FACG5/voyage/pull/34.patch","issue_url":"https://api.github.com/repos/FACG5/voyage/issues/34","number":34,"state":"open","locked":false,"title":"Add review","user":{"login":"Asmaa-ezz","id":38081411,"node_id":"MDQ6VXNlcjM4MDgxNDEx","avatar_url":"https://avatars1.githubusercontent.com/u/38081411?v=4","gravatar_id":"","url":"https://api.github.com/users/Asmaa-ezz","html_url":"https://github.com/Asmaa-ezz","followers_url":"https://api.github.com/users/Asmaa-ezz/followers","following_url":"https://api.github.com/users/Asmaa-ezz/following{/other_user}","gists_url":"https://api.github.com/users/Asmaa-ezz/gists{/gist_id}","starred_url":"https://api.github.com/users/Asmaa-ezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asmaa-ezz/subscriptions","organizations_url":"https://api.github.com/users/Asmaa-ezz/orgs","repos_url":"https://api.github.com/users/Asmaa-ezz/repos","events_url":"https://api.github.com/users/Asmaa-ezz/events{/privacy}","received_events_url":"https://api.github.com/users/Asmaa-ezz/received_events","type":"User","site_admin":false},"body":"- [ ] check the user in login\r\n- [ ] check the type in person\r\n- [ ] insert review in DB","created_at":"2018-09-17T20:50:58Z","updated_at":"2018-09-18T06:28:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"854d272ecd3acc0b99e704e0f5ff88e5d80da4a6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FACG5/voyage/pulls/34/commits","review_comments_url":"https://api.github.com/repos/FACG5/voyage/pulls/34/comments","review_comment_url":"https://api.github.com/repos/FACG5/voyage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FACG5/voyage/issues/34/comments","statuses_url":"https://api.github.com/repos/FACG5/voyage/statuses/7f8b72f4378cb39c1f4335b8817cce5389cd5f5c","head":{"label":"FACG5:addReview","ref":"addReview","sha":"7f8b72f4378cb39c1f4335b8817cce5389cd5f5c","user":{"login":"FACG5","id":37267782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3Nzgy","avatar_url":"https://avatars2.githubusercontent.com/u/37267782?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG5","html_url":"https://github.com/FACG5","followers_url":"https://api.github.com/users/FACG5/followers","following_url":"https://api.github.com/users/FACG5/following{/other_user}","gists_url":"https://api.github.com/users/FACG5/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG5/subscriptions","organizations_url":"https://api.github.com/users/FACG5/orgs","repos_url":"https://api.github.com/users/FACG5/repos","events_url":"https://api.github.com/users/FACG5/events{/privacy}","received_events_url":"https://api.github.com/users/FACG5/received_events","type":"Organization","site_admin":false},"repo":{"id":148000880,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgwMDA4ODA=","name":"voyage","full_name":"FACG5/voyage","private":false,"owner":{"login":"FACG5","id":37267782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3Nzgy","avatar_url":"https://avatars2.githubusercontent.com/u/37267782?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG5","html_url":"https://github.com/FACG5","followers_url":"https://api.github.com/users/FACG5/followers","following_url":"https://api.github.com/users/FACG5/following{/other_user}","gists_url":"https://api.github.com/users/FACG5/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG5/subscriptions","organizations_url":"https://api.github.com/users/FACG5/orgs","repos_url":"https://api.github.com/users/FACG5/repos","events_url":"https://api.github.com/users/FACG5/events{/privacy}","received_events_url":"https://api.github.com/users/FACG5/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FACG5/voyage","description":"App to collect all entertainments places at Gaza ","fork":false,"url":"https://api.github.com/repos/FACG5/voyage","forks_url":"https://api.github.com/repos/FACG5/voyage/forks","keys_url":"https://api.github.com/repos/FACG5/voyage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FACG5/voyage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FACG5/voyage/teams","hooks_url":"https://api.github.com/repos/FACG5/voyage/hooks","issue_events_url":"https://api.github.com/repos/FACG5/voyage/issues/events{/number}","events_url":"https://api.github.com/repos/FACG5/voyage/events","assignees_url":"https://api.github.com/repos/FACG5/voyage/assignees{/user}","branches_url":"https://api.github.com/repos/FACG5/voyage/branches{/branch}","tags_url":"https://api.github.com/repos/FACG5/voyage/tags","blobs_url":"https://api.github.com/repos/FACG5/voyage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FACG5/voyage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FACG5/voyage/git/refs{/sha}","trees_url":"https://api.github.com/repos/FACG5/voyage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FACG5/voyage/statuses/{sha}","languages_url":"https://api.github.com/repos/FACG5/voyage/languages","stargazers_url":"https://api.github.com/repos/FACG5/voyage/stargazers","contributors_url":"https://api.github.com/repos/FACG5/voyage/contributors","subscribers_url":"https://api.github.com/repos/FACG5/voyage/subscribers","subscription_url":"https://api.github.com/repos/FACG5/voyage/subscription","commits_url":"https://api.github.com/repos/FACG5/voyage/commits{/sha}","git_commits_url":"https://api.github.com/repos/FACG5/voyage/git/commits{/sha}","comments_url":"https://api.github.com/repos/FACG5/voyage/comments{/number}","issue_comment_url":"https://api.github.com/repos/FACG5/voyage/issues/comments{/number}","contents_url":"https://api.github.com/repos/FACG5/voyage/contents/{+path}","compare_url":"https://api.github.com/repos/FACG5/voyage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FACG5/voyage/merges","archive_url":"https://api.github.com/repos/FACG5/voyage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FACG5/voyage/downloads","issues_url":"https://api.github.com/repos/FACG5/voyage/issues{/number}","pulls_url":"https://api.github.com/repos/FACG5/voyage/pulls{/number}","milestones_url":"https://api.github.com/repos/FACG5/voyage/milestones{/number}","notifications_url":"https://api.github.com/repos/FACG5/voyage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FACG5/voyage/labels{/name}","releases_url":"https://api.github.com/repos/FACG5/voyage/releases{/id}","deployments_url":"https://api.github.com/repos/FACG5/voyage/deployments","created_at":"2018-09-09T06:56:39Z","updated_at":"2018-09-17T11:20:07Z","pushed_at":"2018-09-17T20:50:58Z","git_url":"git://github.com/FACG5/voyage.git","ssh_url":"git@github.com:FACG5/voyage.git","clone_url":"https://github.com/FACG5/voyage.git","svn_url":"https://github.com/FACG5/voyage","homepage":null,"size":193,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"FACG5:master","ref":"master","sha":"17d977dad0e98d8c0bfb50cc0d4d04c991cc345e","user":{"login":"FACG5","id":37267782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3Nzgy","avatar_url":"https://avatars2.githubusercontent.com/u/37267782?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG5","html_url":"https://github.com/FACG5","followers_url":"https://api.github.com/users/FACG5/followers","following_url":"https://api.github.com/users/FACG5/following{/other_user}","gists_url":"https://api.github.com/users/FACG5/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG5/subscriptions","organizations_url":"https://api.github.com/users/FACG5/orgs","repos_url":"https://api.github.com/users/FACG5/repos","events_url":"https://api.github.com/users/FACG5/events{/privacy}","received_events_url":"https://api.github.com/users/FACG5/received_events","type":"Organization","site_admin":false},"repo":{"id":148000880,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgwMDA4ODA=","name":"voyage","full_name":"FACG5/voyage","private":false,"owner":{"login":"FACG5","id":37267782,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MjY3Nzgy","avatar_url":"https://avatars2.githubusercontent.com/u/37267782?v=4","gravatar_id":"","url":"https://api.github.com/users/FACG5","html_url":"https://github.com/FACG5","followers_url":"https://api.github.com/users/FACG5/followers","following_url":"https://api.github.com/users/FACG5/following{/other_user}","gists_url":"https://api.github.com/users/FACG5/gists{/gist_id}","starred_url":"https://api.github.com/users/FACG5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FACG5/subscriptions","organizations_url":"https://api.github.com/users/FACG5/orgs","repos_url":"https://api.github.com/users/FACG5/repos","events_url":"https://api.github.com/users/FACG5/events{/privacy}","received_events_url":"https://api.github.com/users/FACG5/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FACG5/voyage","description":"App to collect all entertainments places at Gaza ","fork":false,"url":"https://api.github.com/repos/FACG5/voyage","forks_url":"https://api.github.com/repos/FACG5/voyage/forks","keys_url":"https://api.github.com/repos/FACG5/voyage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FACG5/voyage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FACG5/voyage/teams","hooks_url":"https://api.github.com/repos/FACG5/voyage/hooks","issue_events_url":"https://api.github.com/repos/FACG5/voyage/issues/events{/number}","events_url":"https://api.github.com/repos/FACG5/voyage/events","assignees_url":"https://api.github.com/repos/FACG5/voyage/assignees{/user}","branches_url":"https://api.github.com/repos/FACG5/voyage/branches{/branch}","tags_url":"https://api.github.com/repos/FACG5/voyage/tags","blobs_url":"https://api.github.com/repos/FACG5/voyage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FACG5/voyage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FACG5/voyage/git/refs{/sha}","trees_url":"https://api.github.com/repos/FACG5/voyage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FACG5/voyage/statuses/{sha}","languages_url":"https://api.github.com/repos/FACG5/voyage/languages","stargazers_url":"https://api.github.com/repos/FACG5/voyage/stargazers","contributors_url":"https://api.github.com/repos/FACG5/voyage/contributors","subscribers_url":"https://api.github.com/repos/FACG5/voyage/subscribers","subscription_url":"https://api.github.com/repos/FACG5/voyage/subscription","commits_url":"https://api.github.com/repos/FACG5/voyage/commits{/sha}","git_commits_url":"https://api.github.com/repos/FACG5/voyage/git/commits{/sha}","comments_url":"https://api.github.com/repos/FACG5/voyage/comments{/number}","issue_comment_url":"https://api.github.com/repos/FACG5/voyage/issues/comments{/number}","contents_url":"https://api.github.com/repos/FACG5/voyage/contents/{+path}","compare_url":"https://api.github.com/repos/FACG5/voyage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FACG5/voyage/merges","archive_url":"https://api.github.com/repos/FACG5/voyage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FACG5/voyage/downloads","issues_url":"https://api.github.com/repos/FACG5/voyage/issues{/number}","pulls_url":"https://api.github.com/repos/FACG5/voyage/pulls{/number}","milestones_url":"https://api.github.com/repos/FACG5/voyage/milestones{/number}","notifications_url":"https://api.github.com/repos/FACG5/voyage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FACG5/voyage/labels{/name}","releases_url":"https://api.github.com/repos/FACG5/voyage/releases{/id}","deployments_url":"https://api.github.com/repos/FACG5/voyage/deployments","created_at":"2018-09-09T06:56:39Z","updated_at":"2018-09-17T11:20:07Z","pushed_at":"2018-09-17T20:50:58Z","git_url":"git://github.com/FACG5/voyage.git","ssh_url":"git@github.com:FACG5/voyage.git","clone_url":"https://github.com/FACG5/voyage.git","svn_url":"https://github.com/FACG5/voyage","homepage":null,"size":193,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FACG5/voyage/pulls/34"},"html":{"href":"https://github.com/FACG5/voyage/pull/34"},"issue":{"href":"https://api.github.com/repos/FACG5/voyage/issues/34"},"comments":{"href":"https://api.github.com/repos/FACG5/voyage/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/FACG5/voyage/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/FACG5/voyage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FACG5/voyage/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/FACG5/voyage/statuses/7f8b72f4378cb39c1f4335b8817cce5389cd5f5c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"FarahZaqout"}}