{"action":"closed","number":324,"pull_request":{"url":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/324","id":214323464,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MzIzNDY0","html_url":"https://github.com/teamdigitale/italia-backend/pull/324","diff_url":"https://github.com/teamdigitale/italia-backend/pull/324.diff","patch_url":"https://github.com/teamdigitale/italia-backend/pull/324.patch","issue_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues/324","number":324,"state":"closed","locked":false,"title":"Return profile fields that are either from a temporary SPID profile or from an initialized API profile","user":{"login":"cloudify","id":48206,"node_id":"MDQ6VXNlcjQ4MjA2","avatar_url":"https://avatars2.githubusercontent.com/u/48206?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify","html_url":"https://github.com/cloudify","followers_url":"https://api.github.com/users/cloudify/followers","following_url":"https://api.github.com/users/cloudify/following{/other_user}","gists_url":"https://api.github.com/users/cloudify/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify/subscriptions","organizations_url":"https://api.github.com/users/cloudify/orgs","repos_url":"https://api.github.com/users/cloudify/repos","events_url":"https://api.github.com/users/cloudify/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify/received_events","type":"User","site_admin":false},"body":"The previous `ProfileWithoutEmail` / `ProfileWithEmail` types created confusion on which attributes were actually coming from the APIs - in this PR I'm changing the names of the types and removing the API fields from the temporary SPID profile.","created_at":"2018-09-10T13:56:30Z","updated_at":"2018-09-10T14:17:20Z","closed_at":"2018-09-10T14:17:20Z","merged_at":"2018-09-10T14:17:20Z","merge_commit_sha":"3f7f2dd0ac0f134f9fd0f563249f4ac4b93ad48a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"lussoluca","id":436670,"node_id":"MDQ6VXNlcjQzNjY3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/436670?v=4","gravatar_id":"","url":"https://api.github.com/users/lussoluca","html_url":"https://github.com/lussoluca","followers_url":"https://api.github.com/users/lussoluca/followers","following_url":"https://api.github.com/users/lussoluca/following{/other_user}","gists_url":"https://api.github.com/users/lussoluca/gists{/gist_id}","starred_url":"https://api.github.com/users/lussoluca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lussoluca/subscriptions","organizations_url":"https://api.github.com/users/lussoluca/orgs","repos_url":"https://api.github.com/users/lussoluca/repos","events_url":"https://api.github.com/users/lussoluca/events{/privacy}","received_events_url":"https://api.github.com/users/lussoluca/received_events","type":"User","site_admin":false},{"login":"fpersico","id":30595520,"node_id":"MDQ6VXNlcjMwNTk1NTIw","avatar_url":"https://avatars3.githubusercontent.com/u/30595520?v=4","gravatar_id":"","url":"https://api.github.com/users/fpersico","html_url":"https://github.com/fpersico","followers_url":"https://api.github.com/users/fpersico/followers","following_url":"https://api.github.com/users/fpersico/following{/other_user}","gists_url":"https://api.github.com/users/fpersico/gists{/gist_id}","starred_url":"https://api.github.com/users/fpersico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpersico/subscriptions","organizations_url":"https://api.github.com/users/fpersico/orgs","repos_url":"https://api.github.com/users/fpersico/repos","events_url":"https://api.github.com/users/fpersico/events{/privacy}","received_events_url":"https://api.github.com/users/fpersico/received_events","type":"User","site_admin":false},{"login":"lmorelli986","id":39746618,"node_id":"MDQ6VXNlcjM5NzQ2NjE4","avatar_url":"https://avatars1.githubusercontent.com/u/39746618?v=4","gravatar_id":"","url":"https://api.github.com/users/lmorelli986","html_url":"https://github.com/lmorelli986","followers_url":"https://api.github.com/users/lmorelli986/followers","following_url":"https://api.github.com/users/lmorelli986/following{/other_user}","gists_url":"https://api.github.com/users/lmorelli986/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorelli986/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorelli986/subscriptions","organizations_url":"https://api.github.com/users/lmorelli986/orgs","repos_url":"https://api.github.com/users/lmorelli986/repos","events_url":"https://api.github.com/users/lmorelli986/events{/privacy}","received_events_url":"https://api.github.com/users/lmorelli986/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/324/commits","review_comments_url":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/324/comments","review_comment_url":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues/324/comments","statuses_url":"https://api.github.com/repos/teamdigitale/italia-backend/statuses/c7a31675e677f7e4f1c1b7f04ac1ca48ca3d0f1c","head":{"label":"teamdigitale:fix-profile-fields","ref":"fix-profile-fields","sha":"c7a31675e677f7e4f1c1b7f04ac1ca48ca3d0f1c","user":{"login":"teamdigitale","id":25081492,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDgxNDky","avatar_url":"https://avatars0.githubusercontent.com/u/25081492?v=4","gravatar_id":"","url":"https://api.github.com/users/teamdigitale","html_url":"https://github.com/teamdigitale","followers_url":"https://api.github.com/users/teamdigitale/followers","following_url":"https://api.github.com/users/teamdigitale/following{/other_user}","gists_url":"https://api.github.com/users/teamdigitale/gists{/gist_id}","starred_url":"https://api.github.com/users/teamdigitale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamdigitale/subscriptions","organizations_url":"https://api.github.com/users/teamdigitale/orgs","repos_url":"https://api.github.com/users/teamdigitale/repos","events_url":"https://api.github.com/users/teamdigitale/events{/privacy}","received_events_url":"https://api.github.com/users/teamdigitale/received_events","type":"Organization","site_admin":false},"repo":{"id":88541895,"node_id":"MDEwOlJlcG9zaXRvcnk4ODU0MTg5NQ==","name":"italia-backend","full_name":"teamdigitale/italia-backend","owner":{"login":"teamdigitale","id":25081492,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDgxNDky","avatar_url":"https://avatars0.githubusercontent.com/u/25081492?v=4","gravatar_id":"","url":"https://api.github.com/users/teamdigitale","html_url":"https://github.com/teamdigitale","followers_url":"https://api.github.com/users/teamdigitale/followers","following_url":"https://api.github.com/users/teamdigitale/following{/other_user}","gists_url":"https://api.github.com/users/teamdigitale/gists{/gist_id}","starred_url":"https://api.github.com/users/teamdigitale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamdigitale/subscriptions","organizations_url":"https://api.github.com/users/teamdigitale/orgs","repos_url":"https://api.github.com/users/teamdigitale/repos","events_url":"https://api.github.com/users/teamdigitale/events{/privacy}","received_events_url":"https://api.github.com/users/teamdigitale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamdigitale/italia-backend","description":"App IO (backend)","fork":false,"url":"https://api.github.com/repos/teamdigitale/italia-backend","forks_url":"https://api.github.com/repos/teamdigitale/italia-backend/forks","keys_url":"https://api.github.com/repos/teamdigitale/italia-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamdigitale/italia-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamdigitale/italia-backend/teams","hooks_url":"https://api.github.com/repos/teamdigitale/italia-backend/hooks","issue_events_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues/events{/number}","events_url":"https://api.github.com/repos/teamdigitale/italia-backend/events","assignees_url":"https://api.github.com/repos/teamdigitale/italia-backend/assignees{/user}","branches_url":"https://api.github.com/repos/teamdigitale/italia-backend/branches{/branch}","tags_url":"https://api.github.com/repos/teamdigitale/italia-backend/tags","blobs_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamdigitale/italia-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/teamdigitale/italia-backend/languages","stargazers_url":"https://api.github.com/repos/teamdigitale/italia-backend/stargazers","contributors_url":"https://api.github.com/repos/teamdigitale/italia-backend/contributors","subscribers_url":"https://api.github.com/repos/teamdigitale/italia-backend/subscribers","subscription_url":"https://api.github.com/repos/teamdigitale/italia-backend/subscription","commits_url":"https://api.github.com/repos/teamdigitale/italia-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamdigitale/italia-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamdigitale/italia-backend/contents/{+path}","compare_url":"https://api.github.com/repos/teamdigitale/italia-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamdigitale/italia-backend/merges","archive_url":"https://api.github.com/repos/teamdigitale/italia-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamdigitale/italia-backend/downloads","issues_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues{/number}","pulls_url":"https://api.github.com/repos/teamdigitale/italia-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/teamdigitale/italia-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/teamdigitale/italia-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamdigitale/italia-backend/labels{/name}","releases_url":"https://api.github.com/repos/teamdigitale/italia-backend/releases{/id}","deployments_url":"https://api.github.com/repos/teamdigitale/italia-backend/deployments","created_at":"2017-04-17T19:15:53Z","updated_at":"2018-09-10T08:24:31Z","pushed_at":"2018-09-10T14:17:20Z","git_url":"git://github.com/teamdigitale/italia-backend.git","ssh_url":"git@github.com:teamdigitale/italia-backend.git","clone_url":"https://github.com/teamdigitale/italia-backend.git","svn_url":"https://github.com/teamdigitale/italia-backend","homepage":"https://io.italia.it","size":1446,"stargazers_count":27,"watchers_count":27,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":8,"watchers":27,"default_branch":"master"}},"base":{"label":"teamdigitale:master","ref":"master","sha":"258ab5b24aaab778c7140186b7d0b5813b2ec421","user":{"login":"teamdigitale","id":25081492,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDgxNDky","avatar_url":"https://avatars0.githubusercontent.com/u/25081492?v=4","gravatar_id":"","url":"https://api.github.com/users/teamdigitale","html_url":"https://github.com/teamdigitale","followers_url":"https://api.github.com/users/teamdigitale/followers","following_url":"https://api.github.com/users/teamdigitale/following{/other_user}","gists_url":"https://api.github.com/users/teamdigitale/gists{/gist_id}","starred_url":"https://api.github.com/users/teamdigitale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamdigitale/subscriptions","organizations_url":"https://api.github.com/users/teamdigitale/orgs","repos_url":"https://api.github.com/users/teamdigitale/repos","events_url":"https://api.github.com/users/teamdigitale/events{/privacy}","received_events_url":"https://api.github.com/users/teamdigitale/received_events","type":"Organization","site_admin":false},"repo":{"id":88541895,"node_id":"MDEwOlJlcG9zaXRvcnk4ODU0MTg5NQ==","name":"italia-backend","full_name":"teamdigitale/italia-backend","owner":{"login":"teamdigitale","id":25081492,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDgxNDky","avatar_url":"https://avatars0.githubusercontent.com/u/25081492?v=4","gravatar_id":"","url":"https://api.github.com/users/teamdigitale","html_url":"https://github.com/teamdigitale","followers_url":"https://api.github.com/users/teamdigitale/followers","following_url":"https://api.github.com/users/teamdigitale/following{/other_user}","gists_url":"https://api.github.com/users/teamdigitale/gists{/gist_id}","starred_url":"https://api.github.com/users/teamdigitale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teamdigitale/subscriptions","organizations_url":"https://api.github.com/users/teamdigitale/orgs","repos_url":"https://api.github.com/users/teamdigitale/repos","events_url":"https://api.github.com/users/teamdigitale/events{/privacy}","received_events_url":"https://api.github.com/users/teamdigitale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/teamdigitale/italia-backend","description":"App IO (backend)","fork":false,"url":"https://api.github.com/repos/teamdigitale/italia-backend","forks_url":"https://api.github.com/repos/teamdigitale/italia-backend/forks","keys_url":"https://api.github.com/repos/teamdigitale/italia-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teamdigitale/italia-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teamdigitale/italia-backend/teams","hooks_url":"https://api.github.com/repos/teamdigitale/italia-backend/hooks","issue_events_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues/events{/number}","events_url":"https://api.github.com/repos/teamdigitale/italia-backend/events","assignees_url":"https://api.github.com/repos/teamdigitale/italia-backend/assignees{/user}","branches_url":"https://api.github.com/repos/teamdigitale/italia-backend/branches{/branch}","tags_url":"https://api.github.com/repos/teamdigitale/italia-backend/tags","blobs_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teamdigitale/italia-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/teamdigitale/italia-backend/languages","stargazers_url":"https://api.github.com/repos/teamdigitale/italia-backend/stargazers","contributors_url":"https://api.github.com/repos/teamdigitale/italia-backend/contributors","subscribers_url":"https://api.github.com/repos/teamdigitale/italia-backend/subscribers","subscription_url":"https://api.github.com/repos/teamdigitale/italia-backend/subscription","commits_url":"https://api.github.com/repos/teamdigitale/italia-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/teamdigitale/italia-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/teamdigitale/italia-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/teamdigitale/italia-backend/contents/{+path}","compare_url":"https://api.github.com/repos/teamdigitale/italia-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teamdigitale/italia-backend/merges","archive_url":"https://api.github.com/repos/teamdigitale/italia-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teamdigitale/italia-backend/downloads","issues_url":"https://api.github.com/repos/teamdigitale/italia-backend/issues{/number}","pulls_url":"https://api.github.com/repos/teamdigitale/italia-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/teamdigitale/italia-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/teamdigitale/italia-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teamdigitale/italia-backend/labels{/name}","releases_url":"https://api.github.com/repos/teamdigitale/italia-backend/releases{/id}","deployments_url":"https://api.github.com/repos/teamdigitale/italia-backend/deployments","created_at":"2017-04-17T19:15:53Z","updated_at":"2018-09-10T08:24:31Z","pushed_at":"2018-09-10T14:17:20Z","git_url":"git://github.com/teamdigitale/italia-backend.git","ssh_url":"git@github.com:teamdigitale/italia-backend.git","clone_url":"https://github.com/teamdigitale/italia-backend.git","svn_url":"https://github.com/teamdigitale/italia-backend","homepage":"https://io.italia.it","size":1446,"stargazers_count":27,"watchers_count":27,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":8,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/324"},"html":{"href":"https://github.com/teamdigitale/italia-backend/pull/324"},"issue":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/issues/324"},"comments":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/issues/324/comments"},"review_comments":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/324/comments"},"review_comment":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/pulls/324/commits"},"statuses":{"href":"https://api.github.com/repos/teamdigitale/italia-backend/statuses/c7a31675e677f7e4f1c1b7f04ac1ca48ca3d0f1c"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"cloudify","id":48206,"node_id":"MDQ6VXNlcjQ4MjA2","avatar_url":"https://avatars2.githubusercontent.com/u/48206?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify","html_url":"https://github.com/cloudify","followers_url":"https://api.github.com/users/cloudify/followers","following_url":"https://api.github.com/users/cloudify/following{/other_user}","gists_url":"https://api.github.com/users/cloudify/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify/subscriptions","organizations_url":"https://api.github.com/users/cloudify/orgs","repos_url":"https://api.github.com/users/cloudify/repos","events_url":"https://api.github.com/users/cloudify/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":42,"deletions":77,"changed_files":7}}
{"actor":{"display_login":"cloudify"}}