{"action":"created","issue":{"url":"https://api.github.com/repos/LetterboxDev/backend/issues/19","labels_url":"https://api.github.com/repos/LetterboxDev/backend/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/LetterboxDev/backend/issues/19/comments","events_url":"https://api.github.com/repos/LetterboxDev/backend/issues/19/events","html_url":"https://github.com/LetterboxDev/backend/pull/19","id":109341913,"number":19,"title":"[WIP] Handles GET for ProfileQuestion","user":{"login":"xbili","id":4846457,"avatar_url":"https://avatars.githubusercontent.com/u/4846457?v=3","gravatar_id":"","url":"https://api.github.com/users/xbili","html_url":"https://github.com/xbili","followers_url":"https://api.github.com/users/xbili/followers","following_url":"https://api.github.com/users/xbili/following{/other_user}","gists_url":"https://api.github.com/users/xbili/gists{/gist_id}","starred_url":"https://api.github.com/users/xbili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbili/subscriptions","organizations_url":"https://api.github.com/users/xbili/orgs","repos_url":"https://api.github.com/users/xbili/repos","events_url":"https://api.github.com/users/xbili/events{/privacy}","received_events_url":"https://api.github.com/users/xbili/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LetterboxDev/backend/labels/endpoints","name":"endpoints","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"xbili","id":4846457,"avatar_url":"https://avatars.githubusercontent.com/u/4846457?v=3","gravatar_id":"","url":"https://api.github.com/users/xbili","html_url":"https://github.com/xbili","followers_url":"https://api.github.com/users/xbili/followers","following_url":"https://api.github.com/users/xbili/following{/other_user}","gists_url":"https://api.github.com/users/xbili/gists{/gist_id}","starred_url":"https://api.github.com/users/xbili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbili/subscriptions","organizations_url":"https://api.github.com/users/xbili/orgs","repos_url":"https://api.github.com/users/xbili/repos","events_url":"https://api.github.com/users/xbili/events{/privacy}","received_events_url":"https://api.github.com/users/xbili/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-01T17:03:12Z","updated_at":"2015-10-02T07:42:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LetterboxDev/backend/pulls/19","html_url":"https://github.com/LetterboxDev/backend/pull/19","diff_url":"https://github.com/LetterboxDev/backend/pull/19.diff","patch_url":"https://github.com/LetterboxDev/backend/pull/19.patch"},"body":"Closes #16 \r\n\r\nHaven't found a good way to get the current user with the token in the user controller yet. "},"comment":{"url":"https://api.github.com/repos/LetterboxDev/backend/issues/comments/144945229","html_url":"https://github.com/LetterboxDev/backend/pull/19#issuecomment-144945229","issue_url":"https://api.github.com/repos/LetterboxDev/backend/issues/19","id":144945229,"user":{"login":"ianngiaw","id":9079551,"avatar_url":"https://avatars.githubusercontent.com/u/9079551?v=3","gravatar_id":"","url":"https://api.github.com/users/ianngiaw","html_url":"https://github.com/ianngiaw","followers_url":"https://api.github.com/users/ianngiaw/followers","following_url":"https://api.github.com/users/ianngiaw/following{/other_user}","gists_url":"https://api.github.com/users/ianngiaw/gists{/gist_id}","starred_url":"https://api.github.com/users/ianngiaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianngiaw/subscriptions","organizations_url":"https://api.github.com/users/ianngiaw/orgs","repos_url":"https://api.github.com/users/ianngiaw/repos","events_url":"https://api.github.com/users/ianngiaw/events{/privacy}","received_events_url":"https://api.github.com/users/ianngiaw/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T07:42:35Z","updated_at":"2015-10-02T07:42:35Z","body":"Actually if you look at the verifyToken method in app/controllers/token.js, I put the user object under req.user, so you don't need to get the user from the db again, just use the req.user object."}}