{"action":"created","comment":{"url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/comments/77804469","id":77804469,"diff_hunk":"@@ -11,6 +11,7 @@ import mongoose from 'mongoose';\n  * Format the email body\n  */\n \n+const ObjectId = mongoose.Types.ObjectId;","path":"src/server/controllers/match.controller.js","position":4,"original_position":4,"commit_id":"e77e600594ce375859537c26f4c03516d6e28ea5","original_commit_id":"e77e600594ce375859537c26f4c03516d6e28ea5","user":{"login":"lyw0149","id":10323205,"avatar_url":"https://avatars.githubusercontent.com/u/10323205?v=3","gravatar_id":"","url":"https://api.github.com/users/lyw0149","html_url":"https://github.com/lyw0149","followers_url":"https://api.github.com/users/lyw0149/followers","following_url":"https://api.github.com/users/lyw0149/following{/other_user}","gists_url":"https://api.github.com/users/lyw0149/gists{/gist_id}","starred_url":"https://api.github.com/users/lyw0149/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyw0149/subscriptions","organizations_url":"https://api.github.com/users/lyw0149/orgs","repos_url":"https://api.github.com/users/lyw0149/repos","events_url":"https://api.github.com/users/lyw0149/events{/privacy}","received_events_url":"https://api.github.com/users/lyw0149/received_events","type":"User","site_admin":false},"body":"ObjectId is just type. We use it as just cast String to ObjectId for find user. User has ObjectId and also Match has ObjectId.","created_at":"2016-09-07T11:30:52Z","updated_at":"2016-09-07T11:30:52Z","html_url":"https://github.com/sv-bootcamp/yoda/pull/26#discussion_r77804469","pull_request_url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/comments/77804469"},"html":{"href":"https://github.com/sv-bootcamp/yoda/pull/26#discussion_r77804469"},"pull_request":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26","id":84074846,"html_url":"https://github.com/sv-bootcamp/yoda/pull/26","diff_url":"https://github.com/sv-bootcamp/yoda/pull/26.diff","patch_url":"https://github.com/sv-bootcamp/yoda/pull/26.patch","issue_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues/26","number":26,"state":"open","locked":false,"title":"Sign in with just access_token. (FB only)","user":{"login":"lyw0149","id":10323205,"avatar_url":"https://avatars.githubusercontent.com/u/10323205?v=3","gravatar_id":"","url":"https://api.github.com/users/lyw0149","html_url":"https://github.com/lyw0149","followers_url":"https://api.github.com/users/lyw0149/followers","following_url":"https://api.github.com/users/lyw0149/following{/other_user}","gists_url":"https://api.github.com/users/lyw0149/gists{/gist_id}","starred_url":"https://api.github.com/users/lyw0149/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyw0149/subscriptions","organizations_url":"https://api.github.com/users/lyw0149/orgs","repos_url":"https://api.github.com/users/lyw0149/repos","events_url":"https://api.github.com/users/lyw0149/events{/privacy}","received_events_url":"https://api.github.com/users/lyw0149/received_events","type":"User","site_admin":false},"body":"1. Sign in with just access_token & platform_type.\r\n2. Crawl timezone,locale,\r\n3. Crawl profile picture.\r\n\r\n@ethkim @nlpenguin @djflexible @ifndefdeadmau5 @MechanicKim","created_at":"2016-09-06T07:46:17Z","updated_at":"2016-09-07T11:30:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8e3380bc38763daba21908dd7371034e6aa50fc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26/commits","review_comments_url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26/comments","review_comment_url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues/26/comments","statuses_url":"https://api.github.com/repos/sv-bootcamp/yoda/statuses/e77e600594ce375859537c26f4c03516d6e28ea5","head":{"label":"sv-bootcamp:only_accesstoken","ref":"only_accesstoken","sha":"e77e600594ce375859537c26f4c03516d6e28ea5","user":{"login":"sv-bootcamp","id":20648483,"avatar_url":"https://avatars.githubusercontent.com/u/20648483?v=3","gravatar_id":"","url":"https://api.github.com/users/sv-bootcamp","html_url":"https://github.com/sv-bootcamp","followers_url":"https://api.github.com/users/sv-bootcamp/followers","following_url":"https://api.github.com/users/sv-bootcamp/following{/other_user}","gists_url":"https://api.github.com/users/sv-bootcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/sv-bootcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sv-bootcamp/subscriptions","organizations_url":"https://api.github.com/users/sv-bootcamp/orgs","repos_url":"https://api.github.com/users/sv-bootcamp/repos","events_url":"https://api.github.com/users/sv-bootcamp/events{/privacy}","received_events_url":"https://api.github.com/users/sv-bootcamp/received_events","type":"Organization","site_admin":false},"repo":{"id":65598569,"name":"yoda","full_name":"sv-bootcamp/yoda","owner":{"login":"sv-bootcamp","id":20648483,"avatar_url":"https://avatars.githubusercontent.com/u/20648483?v=3","gravatar_id":"","url":"https://api.github.com/users/sv-bootcamp","html_url":"https://github.com/sv-bootcamp","followers_url":"https://api.github.com/users/sv-bootcamp/followers","following_url":"https://api.github.com/users/sv-bootcamp/following{/other_user}","gists_url":"https://api.github.com/users/sv-bootcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/sv-bootcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sv-bootcamp/subscriptions","organizations_url":"https://api.github.com/users/sv-bootcamp/orgs","repos_url":"https://api.github.com/users/sv-bootcamp/repos","events_url":"https://api.github.com/users/sv-bootcamp/events{/privacy}","received_events_url":"https://api.github.com/users/sv-bootcamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sv-bootcamp/yoda","description":"Codename Yoda. Mentoring.","fork":false,"url":"https://api.github.com/repos/sv-bootcamp/yoda","forks_url":"https://api.github.com/repos/sv-bootcamp/yoda/forks","keys_url":"https://api.github.com/repos/sv-bootcamp/yoda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sv-bootcamp/yoda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sv-bootcamp/yoda/teams","hooks_url":"https://api.github.com/repos/sv-bootcamp/yoda/hooks","issue_events_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues/events{/number}","events_url":"https://api.github.com/repos/sv-bootcamp/yoda/events","assignees_url":"https://api.github.com/repos/sv-bootcamp/yoda/assignees{/user}","branches_url":"https://api.github.com/repos/sv-bootcamp/yoda/branches{/branch}","tags_url":"https://api.github.com/repos/sv-bootcamp/yoda/tags","blobs_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/refs{/sha}","trees_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sv-bootcamp/yoda/statuses/{sha}","languages_url":"https://api.github.com/repos/sv-bootcamp/yoda/languages","stargazers_url":"https://api.github.com/repos/sv-bootcamp/yoda/stargazers","contributors_url":"https://api.github.com/repos/sv-bootcamp/yoda/contributors","subscribers_url":"https://api.github.com/repos/sv-bootcamp/yoda/subscribers","subscription_url":"https://api.github.com/repos/sv-bootcamp/yoda/subscription","commits_url":"https://api.github.com/repos/sv-bootcamp/yoda/commits{/sha}","git_commits_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/commits{/sha}","comments_url":"https://api.github.com/repos/sv-bootcamp/yoda/comments{/number}","issue_comment_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues/comments{/number}","contents_url":"https://api.github.com/repos/sv-bootcamp/yoda/contents/{+path}","compare_url":"https://api.github.com/repos/sv-bootcamp/yoda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sv-bootcamp/yoda/merges","archive_url":"https://api.github.com/repos/sv-bootcamp/yoda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sv-bootcamp/yoda/downloads","issues_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues{/number}","pulls_url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls{/number}","milestones_url":"https://api.github.com/repos/sv-bootcamp/yoda/milestones{/number}","notifications_url":"https://api.github.com/repos/sv-bootcamp/yoda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sv-bootcamp/yoda/labels{/name}","releases_url":"https://api.github.com/repos/sv-bootcamp/yoda/releases{/id}","deployments_url":"https://api.github.com/repos/sv-bootcamp/yoda/deployments","created_at":"2016-08-13T04:09:04Z","updated_at":"2016-08-25T01:58:39Z","pushed_at":"2016-09-07T07:25:45Z","git_url":"git://github.com/sv-bootcamp/yoda.git","ssh_url":"git@github.com:sv-bootcamp/yoda.git","clone_url":"https://github.com/sv-bootcamp/yoda.git","svn_url":"https://github.com/sv-bootcamp/yoda","homepage":null,"size":23179,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"sv-bootcamp:master","ref":"master","sha":"add2337b3865120951f570683edd3630a9b2c703","user":{"login":"sv-bootcamp","id":20648483,"avatar_url":"https://avatars.githubusercontent.com/u/20648483?v=3","gravatar_id":"","url":"https://api.github.com/users/sv-bootcamp","html_url":"https://github.com/sv-bootcamp","followers_url":"https://api.github.com/users/sv-bootcamp/followers","following_url":"https://api.github.com/users/sv-bootcamp/following{/other_user}","gists_url":"https://api.github.com/users/sv-bootcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/sv-bootcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sv-bootcamp/subscriptions","organizations_url":"https://api.github.com/users/sv-bootcamp/orgs","repos_url":"https://api.github.com/users/sv-bootcamp/repos","events_url":"https://api.github.com/users/sv-bootcamp/events{/privacy}","received_events_url":"https://api.github.com/users/sv-bootcamp/received_events","type":"Organization","site_admin":false},"repo":{"id":65598569,"name":"yoda","full_name":"sv-bootcamp/yoda","owner":{"login":"sv-bootcamp","id":20648483,"avatar_url":"https://avatars.githubusercontent.com/u/20648483?v=3","gravatar_id":"","url":"https://api.github.com/users/sv-bootcamp","html_url":"https://github.com/sv-bootcamp","followers_url":"https://api.github.com/users/sv-bootcamp/followers","following_url":"https://api.github.com/users/sv-bootcamp/following{/other_user}","gists_url":"https://api.github.com/users/sv-bootcamp/gists{/gist_id}","starred_url":"https://api.github.com/users/sv-bootcamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sv-bootcamp/subscriptions","organizations_url":"https://api.github.com/users/sv-bootcamp/orgs","repos_url":"https://api.github.com/users/sv-bootcamp/repos","events_url":"https://api.github.com/users/sv-bootcamp/events{/privacy}","received_events_url":"https://api.github.com/users/sv-bootcamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sv-bootcamp/yoda","description":"Codename Yoda. Mentoring.","fork":false,"url":"https://api.github.com/repos/sv-bootcamp/yoda","forks_url":"https://api.github.com/repos/sv-bootcamp/yoda/forks","keys_url":"https://api.github.com/repos/sv-bootcamp/yoda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sv-bootcamp/yoda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sv-bootcamp/yoda/teams","hooks_url":"https://api.github.com/repos/sv-bootcamp/yoda/hooks","issue_events_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues/events{/number}","events_url":"https://api.github.com/repos/sv-bootcamp/yoda/events","assignees_url":"https://api.github.com/repos/sv-bootcamp/yoda/assignees{/user}","branches_url":"https://api.github.com/repos/sv-bootcamp/yoda/branches{/branch}","tags_url":"https://api.github.com/repos/sv-bootcamp/yoda/tags","blobs_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/refs{/sha}","trees_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sv-bootcamp/yoda/statuses/{sha}","languages_url":"https://api.github.com/repos/sv-bootcamp/yoda/languages","stargazers_url":"https://api.github.com/repos/sv-bootcamp/yoda/stargazers","contributors_url":"https://api.github.com/repos/sv-bootcamp/yoda/contributors","subscribers_url":"https://api.github.com/repos/sv-bootcamp/yoda/subscribers","subscription_url":"https://api.github.com/repos/sv-bootcamp/yoda/subscription","commits_url":"https://api.github.com/repos/sv-bootcamp/yoda/commits{/sha}","git_commits_url":"https://api.github.com/repos/sv-bootcamp/yoda/git/commits{/sha}","comments_url":"https://api.github.com/repos/sv-bootcamp/yoda/comments{/number}","issue_comment_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues/comments{/number}","contents_url":"https://api.github.com/repos/sv-bootcamp/yoda/contents/{+path}","compare_url":"https://api.github.com/repos/sv-bootcamp/yoda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sv-bootcamp/yoda/merges","archive_url":"https://api.github.com/repos/sv-bootcamp/yoda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sv-bootcamp/yoda/downloads","issues_url":"https://api.github.com/repos/sv-bootcamp/yoda/issues{/number}","pulls_url":"https://api.github.com/repos/sv-bootcamp/yoda/pulls{/number}","milestones_url":"https://api.github.com/repos/sv-bootcamp/yoda/milestones{/number}","notifications_url":"https://api.github.com/repos/sv-bootcamp/yoda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sv-bootcamp/yoda/labels{/name}","releases_url":"https://api.github.com/repos/sv-bootcamp/yoda/releases{/id}","deployments_url":"https://api.github.com/repos/sv-bootcamp/yoda/deployments","created_at":"2016-08-13T04:09:04Z","updated_at":"2016-08-25T01:58:39Z","pushed_at":"2016-09-07T07:25:45Z","git_url":"git://github.com/sv-bootcamp/yoda.git","ssh_url":"git@github.com:sv-bootcamp/yoda.git","clone_url":"https://github.com/sv-bootcamp/yoda.git","svn_url":"https://github.com/sv-bootcamp/yoda","homepage":null,"size":23179,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26"},"html":{"href":"https://github.com/sv-bootcamp/yoda/pull/26"},"issue":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/issues/26"},"comments":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/sv-bootcamp/yoda/statuses/e77e600594ce375859537c26f4c03516d6e28ea5"}}}}
{"actor":{"display_login":"lyw0149"}}