{"action":"created","comment":{"url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/comments/128466945","pull_request_review_id":51147824,"id":128466945,"diff_hunk":"@@ -5,7 +5,11 @@ export default ApplicationSerializer.extend({\n   serialize(snapshot, options) {\n     const json = this._super(...arguments);\n     if (options && options.includeId) {\n-      json.data.attributes = pick(json.data.attributes, ['email', 'password']);\n+      if (snapshot.adapterOptions && snapshot.adapterOptions.updateMode === 'profile') {","path":"app/serializers/user.js","position":5,"original_position":5,"commit_id":"f67522d17e61da9c9979ac369408647a4270435c","original_commit_id":"f67522d17e61da9c9979ac369408647a4270435c","user":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars2.githubusercontent.com/u/12807846?v=4","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"body":"@niranjan94 Okay so we will send the whole model except `email` & `password` & let the server take care of the rest?\r\n","created_at":"2017-07-20T09:30:20Z","updated_at":"2017-07-20T09:30:20Z","html_url":"https://github.com/fossasia/open-event-frontend/pull/512#discussion_r128466945","pull_request_url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512","_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/comments/128466945"},"html":{"href":"https://github.com/fossasia/open-event-frontend/pull/512#discussion_r128466945"},"pull_request":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512"}}},"pull_request":{"url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512","id":131422298,"html_url":"https://github.com/fossasia/open-event-frontend/pull/512","diff_url":"https://github.com/fossasia/open-event-frontend/pull/512.diff","patch_url":"https://github.com/fossasia/open-event-frontend/pull/512.patch","issue_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/512","number":512,"state":"open","locked":false,"title":"Integrates user API to profile route","user":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars2.githubusercontent.com/u/12807846?v=4","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"body":"#### Checklist\r\n\r\n- [x] I have read the [Contribution & Best practices Guide](https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia).\r\n- [x] My branch is up-to-date with the Upstream `development` branch.\r\n- [x] The acceptance, integration, unit tests and linter pass locally with my changes <!-- use `ember test` to run all the tests -->\r\n- [x] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n\r\n#### Changes proposed in this pull request:\r\n\r\n- Adds user API to profile page\r\n- Improves tests for profile form\r\n\r\nDeployment link: https://open-event-frontend-app.herokuapp.com/\r\nFixes #488 \r\n","created_at":"2017-07-19T21:18:45Z","updated_at":"2017-07-20T09:30:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"546ebe71b31ff5516d4df917662ddc0faf26cf2a","assignee":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars2.githubusercontent.com/u/12807846?v=4","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"assignees":[{"login":"geekyd","id":12807846,"avatar_url":"https://avatars2.githubusercontent.com/u/12807846?v=4","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512/commits","review_comments_url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512/comments","review_comment_url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/512/comments","statuses_url":"https://api.github.com/repos/fossasia/open-event-frontend/statuses/f67522d17e61da9c9979ac369408647a4270435c","head":{"label":"geekyd:gamma","ref":"gamma","sha":"f67522d17e61da9c9979ac369408647a4270435c","user":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars2.githubusercontent.com/u/12807846?v=4","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"repo":{"id":87499185,"name":"open-event-frontend","full_name":"geekyd/open-event-frontend","owner":{"login":"geekyd","id":12807846,"avatar_url":"https://avatars2.githubusercontent.com/u/12807846?v=4","gravatar_id":"","url":"https://api.github.com/users/geekyd","html_url":"https://github.com/geekyd","followers_url":"https://api.github.com/users/geekyd/followers","following_url":"https://api.github.com/users/geekyd/following{/other_user}","gists_url":"https://api.github.com/users/geekyd/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyd/subscriptions","organizations_url":"https://api.github.com/users/geekyd/orgs","repos_url":"https://api.github.com/users/geekyd/repos","events_url":"https://api.github.com/users/geekyd/events{/privacy}","received_events_url":"https://api.github.com/users/geekyd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geekyd/open-event-frontend","description":"Front-end for Open Event in Javascript","fork":true,"url":"https://api.github.com/repos/geekyd/open-event-frontend","forks_url":"https://api.github.com/repos/geekyd/open-event-frontend/forks","keys_url":"https://api.github.com/repos/geekyd/open-event-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekyd/open-event-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekyd/open-event-frontend/teams","hooks_url":"https://api.github.com/repos/geekyd/open-event-frontend/hooks","issue_events_url":"https://api.github.com/repos/geekyd/open-event-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/geekyd/open-event-frontend/events","assignees_url":"https://api.github.com/repos/geekyd/open-event-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/geekyd/open-event-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/geekyd/open-event-frontend/tags","blobs_url":"https://api.github.com/repos/geekyd/open-event-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekyd/open-event-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekyd/open-event-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekyd/open-event-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekyd/open-event-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/geekyd/open-event-frontend/languages","stargazers_url":"https://api.github.com/repos/geekyd/open-event-frontend/stargazers","contributors_url":"https://api.github.com/repos/geekyd/open-event-frontend/contributors","subscribers_url":"https://api.github.com/repos/geekyd/open-event-frontend/subscribers","subscription_url":"https://api.github.com/repos/geekyd/open-event-frontend/subscription","commits_url":"https://api.github.com/repos/geekyd/open-event-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekyd/open-event-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekyd/open-event-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekyd/open-event-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/geekyd/open-event-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/geekyd/open-event-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekyd/open-event-frontend/merges","archive_url":"https://api.github.com/repos/geekyd/open-event-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekyd/open-event-frontend/downloads","issues_url":"https://api.github.com/repos/geekyd/open-event-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/geekyd/open-event-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/geekyd/open-event-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/geekyd/open-event-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekyd/open-event-frontend/labels{/name}","releases_url":"https://api.github.com/repos/geekyd/open-event-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/geekyd/open-event-frontend/deployments","created_at":"2017-04-07T03:10:32Z","updated_at":"2017-04-07T03:10:34Z","pushed_at":"2017-07-20T08:47:53Z","git_url":"git://github.com/geekyd/open-event-frontend.git","ssh_url":"git@github.com:geekyd/open-event-frontend.git","clone_url":"https://github.com/geekyd/open-event-frontend.git","svn_url":"https://github.com/geekyd/open-event-frontend","homepage":null,"size":1644,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"fossasia:development","ref":"development","sha":"a0f94acfbfb03c1025eb4604eff01a046048096a","user":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"repo":{"id":87479250,"name":"open-event-frontend","full_name":"fossasia/open-event-frontend","owner":{"login":"fossasia","id":6295529,"avatar_url":"https://avatars3.githubusercontent.com/u/6295529?v=4","gravatar_id":"","url":"https://api.github.com/users/fossasia","html_url":"https://github.com/fossasia","followers_url":"https://api.github.com/users/fossasia/followers","following_url":"https://api.github.com/users/fossasia/following{/other_user}","gists_url":"https://api.github.com/users/fossasia/gists{/gist_id}","starred_url":"https://api.github.com/users/fossasia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fossasia/subscriptions","organizations_url":"https://api.github.com/users/fossasia/orgs","repos_url":"https://api.github.com/users/fossasia/repos","events_url":"https://api.github.com/users/fossasia/events{/privacy}","received_events_url":"https://api.github.com/users/fossasia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fossasia/open-event-frontend","description":"The front end for the Open Event API Server https://nextgen.eventyay.com","fork":false,"url":"https://api.github.com/repos/fossasia/open-event-frontend","forks_url":"https://api.github.com/repos/fossasia/open-event-frontend/forks","keys_url":"https://api.github.com/repos/fossasia/open-event-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fossasia/open-event-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fossasia/open-event-frontend/teams","hooks_url":"https://api.github.com/repos/fossasia/open-event-frontend/hooks","issue_events_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/fossasia/open-event-frontend/events","assignees_url":"https://api.github.com/repos/fossasia/open-event-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/fossasia/open-event-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/fossasia/open-event-frontend/tags","blobs_url":"https://api.github.com/repos/fossasia/open-event-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fossasia/open-event-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fossasia/open-event-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/fossasia/open-event-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fossasia/open-event-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/fossasia/open-event-frontend/languages","stargazers_url":"https://api.github.com/repos/fossasia/open-event-frontend/stargazers","contributors_url":"https://api.github.com/repos/fossasia/open-event-frontend/contributors","subscribers_url":"https://api.github.com/repos/fossasia/open-event-frontend/subscribers","subscription_url":"https://api.github.com/repos/fossasia/open-event-frontend/subscription","commits_url":"https://api.github.com/repos/fossasia/open-event-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/fossasia/open-event-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/fossasia/open-event-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/fossasia/open-event-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/fossasia/open-event-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fossasia/open-event-frontend/merges","archive_url":"https://api.github.com/repos/fossasia/open-event-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fossasia/open-event-frontend/downloads","issues_url":"https://api.github.com/repos/fossasia/open-event-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/fossasia/open-event-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/fossasia/open-event-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/fossasia/open-event-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fossasia/open-event-frontend/labels{/name}","releases_url":"https://api.github.com/repos/fossasia/open-event-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/fossasia/open-event-frontend/deployments","created_at":"2017-04-06T22:04:57Z","updated_at":"2017-07-11T18:02:17Z","pushed_at":"2017-07-20T09:06:09Z","git_url":"git://github.com/fossasia/open-event-frontend.git","ssh_url":"git@github.com:fossasia/open-event-frontend.git","clone_url":"https://github.com/fossasia/open-event-frontend.git","svn_url":"https://github.com/fossasia/open-event-frontend","homepage":"https://open-event-frontend.herokuapp.com","size":7479,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":28,"forks":18,"open_issues":28,"watchers":12,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512"},"html":{"href":"https://github.com/fossasia/open-event-frontend/pull/512"},"issue":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/issues/512"},"comments":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/issues/512/comments"},"review_comments":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512/comments"},"review_comment":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/pulls/512/commits"},"statuses":{"href":"https://api.github.com/repos/fossasia/open-event-frontend/statuses/f67522d17e61da9c9979ac369408647a4270435c"}}}}
{"actor":{"display_login":"geekyd"}}