{"action":"closed","number":88,"pull_request":{"url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/88","id":235169551,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MTY5NTUx","html_url":"https://github.com/Victor-Ugwueze/MyDiary/pull/88","diff_url":"https://github.com/Victor-Ugwueze/MyDiary/pull/88.diff","patch_url":"https://github.com/Victor-Ugwueze/MyDiary/pull/88.patch","issue_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/88","number":88,"state":"closed","locked":false,"title":"#162361682 return user object after authentication","user":{"login":"Victor-Ugwueze","id":24890605,"node_id":"MDQ6VXNlcjI0ODkwNjA1","avatar_url":"https://avatars0.githubusercontent.com/u/24890605?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor-Ugwueze","html_url":"https://github.com/Victor-Ugwueze","followers_url":"https://api.github.com/users/Victor-Ugwueze/followers","following_url":"https://api.github.com/users/Victor-Ugwueze/following{/other_user}","gists_url":"https://api.github.com/users/Victor-Ugwueze/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor-Ugwueze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor-Ugwueze/subscriptions","organizations_url":"https://api.github.com/users/Victor-Ugwueze/orgs","repos_url":"https://api.github.com/users/Victor-Ugwueze/repos","events_url":"https://api.github.com/users/Victor-Ugwueze/events{/privacy}","received_events_url":"https://api.github.com/users/Victor-Ugwueze/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- return user object after authentication\r\n\r\n#### Description of Task to be completed?\r\n- return user object after login\r\n- return user object after signup\r\n\r\n#### How should this be manually tested?\r\n- start the app\r\n- login by providing the required fields\r\n- you should get a user a token and user details\r\n\r\n#### Any background context you want to provide?\r\nNA\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#162361682](https://www.pivotaltracker.com/story/show/162361682, \"return user object after authentication\")\r\n\r\n#### Screenshots (if appropriate)\r\nNA\r\n\r\n#### Questions:\r\n","created_at":"2018-12-01T04:37:28Z","updated_at":"2018-12-01T04:41:51Z","closed_at":"2018-12-01T04:41:51Z","merged_at":"2018-12-01T04:41:51Z","merge_commit_sha":"57356dcc5e428cc0d614d0df93a39ad356442326","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/88/commits","review_comments_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/88/comments","review_comment_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/88/comments","statuses_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/statuses/30024adda2fcf19b7a87371b04df9b94bc4e713b","head":{"label":"Victor-Ugwueze:chore-return-user-on-login-162361682","ref":"chore-return-user-on-login-162361682","sha":"30024adda2fcf19b7a87371b04df9b94bc4e713b","user":{"login":"Victor-Ugwueze","id":24890605,"node_id":"MDQ6VXNlcjI0ODkwNjA1","avatar_url":"https://avatars0.githubusercontent.com/u/24890605?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor-Ugwueze","html_url":"https://github.com/Victor-Ugwueze","followers_url":"https://api.github.com/users/Victor-Ugwueze/followers","following_url":"https://api.github.com/users/Victor-Ugwueze/following{/other_user}","gists_url":"https://api.github.com/users/Victor-Ugwueze/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor-Ugwueze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor-Ugwueze/subscriptions","organizations_url":"https://api.github.com/users/Victor-Ugwueze/orgs","repos_url":"https://api.github.com/users/Victor-Ugwueze/repos","events_url":"https://api.github.com/users/Victor-Ugwueze/events{/privacy}","received_events_url":"https://api.github.com/users/Victor-Ugwueze/received_events","type":"User","site_admin":false},"repo":{"id":140506435,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1MDY0MzU=","name":"MyDiary","full_name":"Victor-Ugwueze/MyDiary","private":false,"owner":{"login":"Victor-Ugwueze","id":24890605,"node_id":"MDQ6VXNlcjI0ODkwNjA1","avatar_url":"https://avatars0.githubusercontent.com/u/24890605?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor-Ugwueze","html_url":"https://github.com/Victor-Ugwueze","followers_url":"https://api.github.com/users/Victor-Ugwueze/followers","following_url":"https://api.github.com/users/Victor-Ugwueze/following{/other_user}","gists_url":"https://api.github.com/users/Victor-Ugwueze/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor-Ugwueze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor-Ugwueze/subscriptions","organizations_url":"https://api.github.com/users/Victor-Ugwueze/orgs","repos_url":"https://api.github.com/users/Victor-Ugwueze/repos","events_url":"https://api.github.com/users/Victor-Ugwueze/events{/privacy}","received_events_url":"https://api.github.com/users/Victor-Ugwueze/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Victor-Ugwueze/MyDiary","description":"My Diary is an online journal where a user can create and manage his thoughts on a diary","fork":false,"url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary","forks_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/forks","keys_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/teams","hooks_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/hooks","issue_events_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/events{/number}","events_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/events","assignees_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/assignees{/user}","branches_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/branches{/branch}","tags_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/tags","blobs_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/refs{/sha}","trees_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/statuses/{sha}","languages_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/languages","stargazers_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/stargazers","contributors_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/contributors","subscribers_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/subscribers","subscription_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/subscription","commits_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/commits{/sha}","git_commits_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/commits{/sha}","comments_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/comments{/number}","issue_comment_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/comments{/number}","contents_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/contents/{+path}","compare_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/merges","archive_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/downloads","issues_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues{/number}","pulls_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls{/number}","milestones_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/milestones{/number}","notifications_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/labels{/name}","releases_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/releases{/id}","deployments_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/deployments","created_at":"2018-07-11T01:38:25Z","updated_at":"2018-07-13T15:22:29Z","pushed_at":"2018-12-01T04:41:51Z","git_url":"git://github.com/Victor-Ugwueze/MyDiary.git","ssh_url":"git@github.com:Victor-Ugwueze/MyDiary.git","clone_url":"https://github.com/Victor-Ugwueze/MyDiary.git","svn_url":"https://github.com/Victor-Ugwueze/MyDiary","homepage":"","size":749,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Victor-Ugwueze:develop","ref":"develop","sha":"15436c6b814f438c95eabff74c823926ffd70f83","user":{"login":"Victor-Ugwueze","id":24890605,"node_id":"MDQ6VXNlcjI0ODkwNjA1","avatar_url":"https://avatars0.githubusercontent.com/u/24890605?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor-Ugwueze","html_url":"https://github.com/Victor-Ugwueze","followers_url":"https://api.github.com/users/Victor-Ugwueze/followers","following_url":"https://api.github.com/users/Victor-Ugwueze/following{/other_user}","gists_url":"https://api.github.com/users/Victor-Ugwueze/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor-Ugwueze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor-Ugwueze/subscriptions","organizations_url":"https://api.github.com/users/Victor-Ugwueze/orgs","repos_url":"https://api.github.com/users/Victor-Ugwueze/repos","events_url":"https://api.github.com/users/Victor-Ugwueze/events{/privacy}","received_events_url":"https://api.github.com/users/Victor-Ugwueze/received_events","type":"User","site_admin":false},"repo":{"id":140506435,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA1MDY0MzU=","name":"MyDiary","full_name":"Victor-Ugwueze/MyDiary","private":false,"owner":{"login":"Victor-Ugwueze","id":24890605,"node_id":"MDQ6VXNlcjI0ODkwNjA1","avatar_url":"https://avatars0.githubusercontent.com/u/24890605?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor-Ugwueze","html_url":"https://github.com/Victor-Ugwueze","followers_url":"https://api.github.com/users/Victor-Ugwueze/followers","following_url":"https://api.github.com/users/Victor-Ugwueze/following{/other_user}","gists_url":"https://api.github.com/users/Victor-Ugwueze/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor-Ugwueze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor-Ugwueze/subscriptions","organizations_url":"https://api.github.com/users/Victor-Ugwueze/orgs","repos_url":"https://api.github.com/users/Victor-Ugwueze/repos","events_url":"https://api.github.com/users/Victor-Ugwueze/events{/privacy}","received_events_url":"https://api.github.com/users/Victor-Ugwueze/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Victor-Ugwueze/MyDiary","description":"My Diary is an online journal where a user can create and manage his thoughts on a diary","fork":false,"url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary","forks_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/forks","keys_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/teams","hooks_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/hooks","issue_events_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/events{/number}","events_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/events","assignees_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/assignees{/user}","branches_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/branches{/branch}","tags_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/tags","blobs_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/refs{/sha}","trees_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/statuses/{sha}","languages_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/languages","stargazers_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/stargazers","contributors_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/contributors","subscribers_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/subscribers","subscription_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/subscription","commits_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/commits{/sha}","git_commits_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/git/commits{/sha}","comments_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/comments{/number}","issue_comment_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/comments{/number}","contents_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/contents/{+path}","compare_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/merges","archive_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/downloads","issues_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues{/number}","pulls_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls{/number}","milestones_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/milestones{/number}","notifications_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/labels{/name}","releases_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/releases{/id}","deployments_url":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/deployments","created_at":"2018-07-11T01:38:25Z","updated_at":"2018-07-13T15:22:29Z","pushed_at":"2018-12-01T04:41:51Z","git_url":"git://github.com/Victor-Ugwueze/MyDiary.git","ssh_url":"git@github.com:Victor-Ugwueze/MyDiary.git","clone_url":"https://github.com/Victor-Ugwueze/MyDiary.git","svn_url":"https://github.com/Victor-Ugwueze/MyDiary","homepage":"","size":749,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/88"},"html":{"href":"https://github.com/Victor-Ugwueze/MyDiary/pull/88"},"issue":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/88"},"comments":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/Victor-Ugwueze/MyDiary/statuses/30024adda2fcf19b7a87371b04df9b94bc4e713b"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Victor-Ugwueze","id":24890605,"node_id":"MDQ6VXNlcjI0ODkwNjA1","avatar_url":"https://avatars0.githubusercontent.com/u/24890605?v=4","gravatar_id":"","url":"https://api.github.com/users/Victor-Ugwueze","html_url":"https://github.com/Victor-Ugwueze","followers_url":"https://api.github.com/users/Victor-Ugwueze/followers","following_url":"https://api.github.com/users/Victor-Ugwueze/following{/other_user}","gists_url":"https://api.github.com/users/Victor-Ugwueze/gists{/gist_id}","starred_url":"https://api.github.com/users/Victor-Ugwueze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victor-Ugwueze/subscriptions","organizations_url":"https://api.github.com/users/Victor-Ugwueze/orgs","repos_url":"https://api.github.com/users/Victor-Ugwueze/repos","events_url":"https://api.github.com/users/Victor-Ugwueze/events{/privacy}","received_events_url":"https://api.github.com/users/Victor-Ugwueze/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":245,"deletions":58,"changed_files":19}}
{"actor":{"display_login":"Victor-Ugwueze"}}