{"action":"created","comment":{"url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/comments/76385993","id":76385993,"diff_hunk":"@@ -152,7 +152,29 @@ router.get('/steder/:sted/besok/:checkin', (req, res, next) => {\n \n router.get('/lister/:liste/stats', notImplementedYet);\n router.get('/lister/:liste/logg', notImplementedYet);\n-router.post('/lister/:liste/blimed', notImplementedYet);\n+router.post('/lister/:liste/blimed', requireAuth, (req, res) => {\n+  User.findOne({ _id: req.user.id })","path":"index.js","position":6,"original_position":6,"commit_id":"62368a75ce325623fda9e74596d3542cbaf97fa4","original_commit_id":"62368a75ce325623fda9e74596d3542cbaf97fa4","user":{"login":"Starefossen","id":968267,"avatar_url":"https://avatars.githubusercontent.com/u/968267?v=3","gravatar_id":"","url":"https://api.github.com/users/Starefossen","html_url":"https://github.com/Starefossen","followers_url":"https://api.github.com/users/Starefossen/followers","following_url":"https://api.github.com/users/Starefossen/following{/other_user}","gists_url":"https://api.github.com/users/Starefossen/gists{/gist_id}","starred_url":"https://api.github.com/users/Starefossen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Starefossen/subscriptions","organizations_url":"https://api.github.com/users/Starefossen/orgs","repos_url":"https://api.github.com/users/Starefossen/repos","events_url":"https://api.github.com/users/Starefossen/events{/privacy}","received_events_url":"https://api.github.com/users/Starefossen/received_events","type":"User","site_admin":false},"body":"Ja. https://github.com/Turistforeningen/Verdandi/blob/master/lib/auth.js#L50","created_at":"2016-08-26T08:54:42Z","updated_at":"2016-08-26T08:54:42Z","html_url":"https://github.com/Turistforeningen/Verdandi/pull/22#discussion_r76385993","pull_request_url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/comments/76385993"},"html":{"href":"https://github.com/Turistforeningen/Verdandi/pull/22#discussion_r76385993"},"pull_request":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22","id":82851822,"html_url":"https://github.com/Turistforeningen/Verdandi/pull/22","diff_url":"https://github.com/Turistforeningen/Verdandi/pull/22.diff","patch_url":"https://github.com/Turistforeningen/Verdandi/pull/22.patch","issue_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/22","number":22,"state":"open","locked":false,"title":"Feat/list join","user":{"login":"geekus","id":6450570,"avatar_url":"https://avatars.githubusercontent.com/u/6450570?v=3","gravatar_id":"","url":"https://api.github.com/users/geekus","html_url":"https://github.com/geekus","followers_url":"https://api.github.com/users/geekus/followers","following_url":"https://api.github.com/users/geekus/following{/other_user}","gists_url":"https://api.github.com/users/geekus/gists{/gist_id}","starred_url":"https://api.github.com/users/geekus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekus/subscriptions","organizations_url":"https://api.github.com/users/geekus/orgs","repos_url":"https://api.github.com/users/geekus/repos","events_url":"https://api.github.com/users/geekus/events{/privacy}","received_events_url":"https://api.github.com/users/geekus/received_events","type":"User","site_admin":false},"body":"* [x] Join a list by sending POST request to `lister/:id/blimed`\r\n* [x] Leave a list by sending POST request to `lister/:id/meldav`","created_at":"2016-08-26T08:43:43Z","updated_at":"2016-08-26T08:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40d34ce8a1650e013dff994ececd1d7590235a49","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/22/comments","statuses_url":"https://api.github.com/repos/Turistforeningen/Verdandi/statuses/62368a75ce325623fda9e74596d3542cbaf97fa4","head":{"label":"Turistforeningen:feat/list-join","ref":"feat/list-join","sha":"62368a75ce325623fda9e74596d3542cbaf97fa4","user":{"login":"Turistforeningen","id":1188810,"avatar_url":"https://avatars.githubusercontent.com/u/1188810?v=3","gravatar_id":"","url":"https://api.github.com/users/Turistforeningen","html_url":"https://github.com/Turistforeningen","followers_url":"https://api.github.com/users/Turistforeningen/followers","following_url":"https://api.github.com/users/Turistforeningen/following{/other_user}","gists_url":"https://api.github.com/users/Turistforeningen/gists{/gist_id}","starred_url":"https://api.github.com/users/Turistforeningen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turistforeningen/subscriptions","organizations_url":"https://api.github.com/users/Turistforeningen/orgs","repos_url":"https://api.github.com/users/Turistforeningen/repos","events_url":"https://api.github.com/users/Turistforeningen/events{/privacy}","received_events_url":"https://api.github.com/users/Turistforeningen/received_events","type":"Organization","site_admin":false},"repo":{"id":62637980,"name":"Verdandi","full_name":"Turistforeningen/Verdandi","owner":{"login":"Turistforeningen","id":1188810,"avatar_url":"https://avatars.githubusercontent.com/u/1188810?v=3","gravatar_id":"","url":"https://api.github.com/users/Turistforeningen","html_url":"https://github.com/Turistforeningen","followers_url":"https://api.github.com/users/Turistforeningen/followers","following_url":"https://api.github.com/users/Turistforeningen/following{/other_user}","gists_url":"https://api.github.com/users/Turistforeningen/gists{/gist_id}","starred_url":"https://api.github.com/users/Turistforeningen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turistforeningen/subscriptions","organizations_url":"https://api.github.com/users/Turistforeningen/orgs","repos_url":"https://api.github.com/users/Turistforeningen/repos","events_url":"https://api.github.com/users/Turistforeningen/events{/privacy}","received_events_url":"https://api.github.com/users/Turistforeningen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Turistforeningen/Verdandi","description":"Verðandi; API backend for Sjekk UT mobile application","fork":false,"url":"https://api.github.com/repos/Turistforeningen/Verdandi","forks_url":"https://api.github.com/repos/Turistforeningen/Verdandi/forks","keys_url":"https://api.github.com/repos/Turistforeningen/Verdandi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Turistforeningen/Verdandi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Turistforeningen/Verdandi/teams","hooks_url":"https://api.github.com/repos/Turistforeningen/Verdandi/hooks","issue_events_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/events{/number}","events_url":"https://api.github.com/repos/Turistforeningen/Verdandi/events","assignees_url":"https://api.github.com/repos/Turistforeningen/Verdandi/assignees{/user}","branches_url":"https://api.github.com/repos/Turistforeningen/Verdandi/branches{/branch}","tags_url":"https://api.github.com/repos/Turistforeningen/Verdandi/tags","blobs_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Turistforeningen/Verdandi/statuses/{sha}","languages_url":"https://api.github.com/repos/Turistforeningen/Verdandi/languages","stargazers_url":"https://api.github.com/repos/Turistforeningen/Verdandi/stargazers","contributors_url":"https://api.github.com/repos/Turistforeningen/Verdandi/contributors","subscribers_url":"https://api.github.com/repos/Turistforeningen/Verdandi/subscribers","subscription_url":"https://api.github.com/repos/Turistforeningen/Verdandi/subscription","commits_url":"https://api.github.com/repos/Turistforeningen/Verdandi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Turistforeningen/Verdandi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/comments{/number}","contents_url":"https://api.github.com/repos/Turistforeningen/Verdandi/contents/{+path}","compare_url":"https://api.github.com/repos/Turistforeningen/Verdandi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Turistforeningen/Verdandi/merges","archive_url":"https://api.github.com/repos/Turistforeningen/Verdandi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Turistforeningen/Verdandi/downloads","issues_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues{/number}","pulls_url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls{/number}","milestones_url":"https://api.github.com/repos/Turistforeningen/Verdandi/milestones{/number}","notifications_url":"https://api.github.com/repos/Turistforeningen/Verdandi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Turistforeningen/Verdandi/labels{/name}","releases_url":"https://api.github.com/repos/Turistforeningen/Verdandi/releases{/id}","deployments_url":"https://api.github.com/repos/Turistforeningen/Verdandi/deployments","created_at":"2016-07-05T13:13:16Z","updated_at":"2016-07-07T13:02:18Z","pushed_at":"2016-08-26T08:47:43Z","git_url":"git://github.com/Turistforeningen/Verdandi.git","ssh_url":"git@github.com:Turistforeningen/Verdandi.git","clone_url":"https://github.com/Turistforeningen/Verdandi.git","svn_url":"https://github.com/Turistforeningen/Verdandi","homepage":null,"size":102,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"base":{"label":"Turistforeningen:master","ref":"master","sha":"f6d9d8f53c890d56c415ce8d0f61ac59e6e0dd25","user":{"login":"Turistforeningen","id":1188810,"avatar_url":"https://avatars.githubusercontent.com/u/1188810?v=3","gravatar_id":"","url":"https://api.github.com/users/Turistforeningen","html_url":"https://github.com/Turistforeningen","followers_url":"https://api.github.com/users/Turistforeningen/followers","following_url":"https://api.github.com/users/Turistforeningen/following{/other_user}","gists_url":"https://api.github.com/users/Turistforeningen/gists{/gist_id}","starred_url":"https://api.github.com/users/Turistforeningen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turistforeningen/subscriptions","organizations_url":"https://api.github.com/users/Turistforeningen/orgs","repos_url":"https://api.github.com/users/Turistforeningen/repos","events_url":"https://api.github.com/users/Turistforeningen/events{/privacy}","received_events_url":"https://api.github.com/users/Turistforeningen/received_events","type":"Organization","site_admin":false},"repo":{"id":62637980,"name":"Verdandi","full_name":"Turistforeningen/Verdandi","owner":{"login":"Turistforeningen","id":1188810,"avatar_url":"https://avatars.githubusercontent.com/u/1188810?v=3","gravatar_id":"","url":"https://api.github.com/users/Turistforeningen","html_url":"https://github.com/Turistforeningen","followers_url":"https://api.github.com/users/Turistforeningen/followers","following_url":"https://api.github.com/users/Turistforeningen/following{/other_user}","gists_url":"https://api.github.com/users/Turistforeningen/gists{/gist_id}","starred_url":"https://api.github.com/users/Turistforeningen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turistforeningen/subscriptions","organizations_url":"https://api.github.com/users/Turistforeningen/orgs","repos_url":"https://api.github.com/users/Turistforeningen/repos","events_url":"https://api.github.com/users/Turistforeningen/events{/privacy}","received_events_url":"https://api.github.com/users/Turistforeningen/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Turistforeningen/Verdandi","description":"Verðandi; API backend for Sjekk UT mobile application","fork":false,"url":"https://api.github.com/repos/Turistforeningen/Verdandi","forks_url":"https://api.github.com/repos/Turistforeningen/Verdandi/forks","keys_url":"https://api.github.com/repos/Turistforeningen/Verdandi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Turistforeningen/Verdandi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Turistforeningen/Verdandi/teams","hooks_url":"https://api.github.com/repos/Turistforeningen/Verdandi/hooks","issue_events_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/events{/number}","events_url":"https://api.github.com/repos/Turistforeningen/Verdandi/events","assignees_url":"https://api.github.com/repos/Turistforeningen/Verdandi/assignees{/user}","branches_url":"https://api.github.com/repos/Turistforeningen/Verdandi/branches{/branch}","tags_url":"https://api.github.com/repos/Turistforeningen/Verdandi/tags","blobs_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Turistforeningen/Verdandi/statuses/{sha}","languages_url":"https://api.github.com/repos/Turistforeningen/Verdandi/languages","stargazers_url":"https://api.github.com/repos/Turistforeningen/Verdandi/stargazers","contributors_url":"https://api.github.com/repos/Turistforeningen/Verdandi/contributors","subscribers_url":"https://api.github.com/repos/Turistforeningen/Verdandi/subscribers","subscription_url":"https://api.github.com/repos/Turistforeningen/Verdandi/subscription","commits_url":"https://api.github.com/repos/Turistforeningen/Verdandi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Turistforeningen/Verdandi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Turistforeningen/Verdandi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/comments{/number}","contents_url":"https://api.github.com/repos/Turistforeningen/Verdandi/contents/{+path}","compare_url":"https://api.github.com/repos/Turistforeningen/Verdandi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Turistforeningen/Verdandi/merges","archive_url":"https://api.github.com/repos/Turistforeningen/Verdandi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Turistforeningen/Verdandi/downloads","issues_url":"https://api.github.com/repos/Turistforeningen/Verdandi/issues{/number}","pulls_url":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls{/number}","milestones_url":"https://api.github.com/repos/Turistforeningen/Verdandi/milestones{/number}","notifications_url":"https://api.github.com/repos/Turistforeningen/Verdandi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Turistforeningen/Verdandi/labels{/name}","releases_url":"https://api.github.com/repos/Turistforeningen/Verdandi/releases{/id}","deployments_url":"https://api.github.com/repos/Turistforeningen/Verdandi/deployments","created_at":"2016-07-05T13:13:16Z","updated_at":"2016-07-07T13:02:18Z","pushed_at":"2016-08-26T08:47:43Z","git_url":"git://github.com/Turistforeningen/Verdandi.git","ssh_url":"git@github.com:Turistforeningen/Verdandi.git","clone_url":"https://github.com/Turistforeningen/Verdandi.git","svn_url":"https://github.com/Turistforeningen/Verdandi","homepage":null,"size":102,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22"},"html":{"href":"https://github.com/Turistforeningen/Verdandi/pull/22"},"issue":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/22"},"comments":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Turistforeningen/Verdandi/statuses/62368a75ce325623fda9e74596d3542cbaf97fa4"}}}}
{"actor":{"display_login":"Starefossen"}}