payload: {"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/advertima/snapshot/pulls/2","id":354618358,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU0NjE4MzU4","html_url":"https://github.com/advertima/snapshot/pull/2","diff_url":"https://github.com/advertima/snapshot/pull/2.diff","patch_url":"https://github.com/advertima/snapshot/pull/2.patch","issue_url":"https://api.github.com/repos/advertima/snapshot/issues/2","number":2,"state":"closed","locked":false,"title":"fix: incorrect POISnspashot toJSON encoding","user":{"login":"micaelmbagira","id":10107323,"node_id":"MDQ6VXNlcjEwMTA3MzIz","avatar_url":"https://avatars2.githubusercontent.com/u/10107323?v=4","gravatar_id":"","url":"https://api.github.com/users/micaelmbagira","html_url":"https://github.com/micaelmbagira","followers_url":"https://api.github.com/users/micaelmbagira/followers","following_url":"https://api.github.com/users/micaelmbagira/following{/other_user}","gists_url":"https://api.github.com/users/micaelmbagira/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelmbagira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelmbagira/subscriptions","organizations_url":"https://api.github.com/users/micaelmbagira/orgs","repos_url":"https://api.github.com/users/micaelmbagira/repos","events_url":"https://api.github.com/users/micaelmbagira/events{/privacy}","received_events_url":"https://api.github.com/users/micaelmbagira/received_events","type":"User","site_admin":false},"body":"The original version was https://github.com/advertima/io/blob/development/src/poi/POISnapshot.ts#L208 but I made some changes in the last refactoring. Unfortunately it broke the API of the JSON snapshot. \r\n\r\nThis PR reverts the changes, and use `_json` to store the json message","created_at":"2019-12-18T13:40:08Z","updated_at":"2019-12-18T13:52:20Z","closed_at":"2019-12-18T13:52:19Z","merged_at":"2019-12-18T13:52:19Z","merge_commit_sha":"b0136786b2447565b50450b71ce61d414b0173c6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"khayalan-mathew","id":23657891,"node_id":"MDQ6VXNlcjIzNjU3ODkx","avatar_url":"https://avatars0.githubusercontent.com/u/23657891?v=4","gravatar_id":"","url":"https://api.github.com/users/khayalan-mathew","html_url":"https://github.com/khayalan-mathew","followers_url":"https://api.github.com/users/khayalan-mathew/followers","following_url":"https://api.github.com/users/khayalan-mathew/following{/other_user}","gists_url":"https://api.github.com/users/khayalan-mathew/gists{/gist_id}","starred_url":"https://api.github.com/users/khayalan-mathew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khayalan-mathew/subscriptions","organizations_url":"https://api.github.com/users/khayalan-mathew/orgs","repos_url":"https://api.github.com/users/khayalan-mathew/repos","events_url":"https://api.github.com/users/khayalan-mathew/events{/privacy}","received_events_url":"https://api.github.com/users/khayalan-mathew/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/advertima/snapshot/pulls/2/commits","review_comments_url":"https://api.github.com/repos/advertima/snapshot/pulls/2/comments","review_comment_url":"https://api.github.com/repos/advertima/snapshot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/advertima/snapshot/issues/2/comments","statuses_url":"https://api.github.com/repos/advertima/snapshot/statuses/ad65ad29ea8d423a9ef331c260732b08c3b0de9d","head":{"label":"advertima:fix/snapshot-encoding","ref":"fix/snapshot-encoding","sha":"ad65ad29ea8d423a9ef331c260732b08c3b0de9d","user":{"login":"advertima","id":38940142,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTQwMTQy","avatar_url":"https://avatars1.githubusercontent.com/u/38940142?v=4","gravatar_id":"","url":"https://api.github.com/users/advertima","html_url":"https://github.com/advertima","followers_url":"https://api.github.com/users/advertima/followers","following_url":"https://api.github.com/users/advertima/following{/other_user}","gists_url":"https://api.github.com/users/advertima/gists{/gist_id}","starred_url":"https://api.github.com/users/advertima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advertima/subscriptions","organizations_url":"https://api.github.com/users/advertima/orgs","repos_url":"https://api.github.com/users/advertima/repos","events_url":"https://api.github.com/users/advertima/events{/privacy}","received_events_url":"https://api.github.com/users/advertima/received_events","type":"Organization","site_admin":false},"repo":{"id":217343503,"node_id":"MDEwOlJlcG9zaXRvcnkyMTczNDM1MDM=","name":"snapshot","full_name":"advertima/snapshot","private":false,"owner":{"login":"advertima","id":38940142,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTQwMTQy","avatar_url":"https://avatars1.githubusercontent.com/u/38940142?v=4","gravatar_id":"","url":"https://api.github.com/users/advertima","html_url":"https://github.com/advertima","followers_url":"https://api.github.com/users/advertima/followers","following_url":"https://api.github.com/users/advertima/following{/other_user}","gists_url":"https://api.github.com/users/advertima/gists{/gist_id}","starred_url":"https://api.github.com/users/advertima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advertima/subscriptions","organizations_url":"https://api.github.com/users/advertima/orgs","repos_url":"https://api.github.com/users/advertima/repos","events_url":"https://api.github.com/users/advertima/events{/privacy}","received_events_url":"https://api.github.com/users/advertima/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/advertima/snapshot","description":"POI Snapshot models","fork":false,"url":"https://api.github.com/repos/advertima/snapshot","forks_url":"https://api.github.com/repos/advertima/snapshot/forks","keys_url":"https://api.github.com/repos/advertima/snapshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advertima/snapshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advertima/snapshot/teams","hooks_url":"https://api.github.com/repos/advertima/snapshot/hooks","issue_events_url":"https://api.github.com/repos/advertima/snapshot/issues/events{/number}","events_url":"https://api.github.com/repos/advertima/snapshot/events","assignees_url":"https://api.github.com/repos/advertima/snapshot/assignees{/user}","branches_url":"https://api.github.com/repos/advertima/snapshot/branches{/branch}","tags_url":"https://api.github.com/repos/advertima/snapshot/tags","blobs_url":"https://api.github.com/repos/advertima/snapshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advertima/snapshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advertima/snapshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/advertima/snapshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advertima/snapshot/statuses/{sha}","languages_url":"https://api.github.com/repos/advertima/snapshot/languages","stargazers_url":"https://api.github.com/repos/advertima/snapshot/stargazers","contributors_url":"https://api.github.com/repos/advertima/snapshot/contributors","subscribers_url":"https://api.github.com/repos/advertima/snapshot/subscribers","subscription_url":"https://api.github.com/repos/advertima/snapshot/subscription","commits_url":"https://api.github.com/repos/advertima/snapshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/advertima/snapshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/advertima/snapshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/advertima/snapshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/advertima/snapshot/contents/{+path}","compare_url":"https://api.github.com/repos/advertima/snapshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advertima/snapshot/merges","archive_url":"https://api.github.com/repos/advertima/snapshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advertima/snapshot/downloads","issues_url":"https://api.github.com/repos/advertima/snapshot/issues{/number}","pulls_url":"https://api.github.com/repos/advertima/snapshot/pulls{/number}","milestones_url":"https://api.github.com/repos/advertima/snapshot/milestones{/number}","notifications_url":"https://api.github.com/repos/advertima/snapshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advertima/snapshot/labels{/name}","releases_url":"https://api.github.com/repos/advertima/snapshot/releases{/id}","deployments_url":"https://api.github.com/repos/advertima/snapshot/deployments","created_at":"2019-10-24T16:24:20Z","updated_at":"2019-11-08T09:37:28Z","pushed_at":"2019-12-18T13:52:20Z","git_url":"git://github.com/advertima/snapshot.git","ssh_url":"git@github.com:advertima/snapshot.git","clone_url":"https://github.com/advertima/snapshot.git","svn_url":"https://github.com/advertima/snapshot","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"base":{"label":"advertima:development","ref":"development","sha":"45360bdc89fde8903692a584a359f1d86b0c06fb","user":{"login":"advertima","id":38940142,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTQwMTQy","avatar_url":"https://avatars1.githubusercontent.com/u/38940142?v=4","gravatar_id":"","url":"https://api.github.com/users/advertima","html_url":"https://github.com/advertima","followers_url":"https://api.github.com/users/advertima/followers","following_url":"https://api.github.com/users/advertima/following{/other_user}","gists_url":"https://api.github.com/users/advertima/gists{/gist_id}","starred_url":"https://api.github.com/users/advertima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advertima/subscriptions","organizations_url":"https://api.github.com/users/advertima/orgs","repos_url":"https://api.github.com/users/advertima/repos","events_url":"https://api.github.com/users/advertima/events{/privacy}","received_events_url":"https://api.github.com/users/advertima/received_events","type":"Organization","site_admin":false},"repo":{"id":217343503,"node_id":"MDEwOlJlcG9zaXRvcnkyMTczNDM1MDM=","name":"snapshot","full_name":"advertima/snapshot","private":false,"owner":{"login":"advertima","id":38940142,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4OTQwMTQy","avatar_url":"https://avatars1.githubusercontent.com/u/38940142?v=4","gravatar_id":"","url":"https://api.github.com/users/advertima","html_url":"https://github.com/advertima","followers_url":"https://api.github.com/users/advertima/followers","following_url":"https://api.github.com/users/advertima/following{/other_user}","gists_url":"https://api.github.com/users/advertima/gists{/gist_id}","starred_url":"https://api.github.com/users/advertima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advertima/subscriptions","organizations_url":"https://api.github.com/users/advertima/orgs","repos_url":"https://api.github.com/users/advertima/repos","events_url":"https://api.github.com/users/advertima/events{/privacy}","received_events_url":"https://api.github.com/users/advertima/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/advertima/snapshot","description":"POI Snapshot models","fork":false,"url":"https://api.github.com/repos/advertima/snapshot","forks_url":"https://api.github.com/repos/advertima/snapshot/forks","keys_url":"https://api.github.com/repos/advertima/snapshot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advertima/snapshot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advertima/snapshot/teams","hooks_url":"https://api.github.com/repos/advertima/snapshot/hooks","issue_events_url":"https://api.github.com/repos/advertima/snapshot/issues/events{/number}","events_url":"https://api.github.com/repos/advertima/snapshot/events","assignees_url":"https://api.github.com/repos/advertima/snapshot/assignees{/user}","branches_url":"https://api.github.com/repos/advertima/snapshot/branches{/branch}","tags_url":"https://api.github.com/repos/advertima/snapshot/tags","blobs_url":"https://api.github.com/repos/advertima/snapshot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advertima/snapshot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advertima/snapshot/git/refs{/sha}","trees_url":"https://api.github.com/repos/advertima/snapshot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advertima/snapshot/statuses/{sha}","languages_url":"https://api.github.com/repos/advertima/snapshot/languages","stargazers_url":"https://api.github.com/repos/advertima/snapshot/stargazers","contributors_url":"https://api.github.com/repos/advertima/snapshot/contributors","subscribers_url":"https://api.github.com/repos/advertima/snapshot/subscribers","subscription_url":"https://api.github.com/repos/advertima/snapshot/subscription","commits_url":"https://api.github.com/repos/advertima/snapshot/commits{/sha}","git_commits_url":"https://api.github.com/repos/advertima/snapshot/git/commits{/sha}","comments_url":"https://api.github.com/repos/advertima/snapshot/comments{/number}","issue_comment_url":"https://api.github.com/repos/advertima/snapshot/issues/comments{/number}","contents_url":"https://api.github.com/repos/advertima/snapshot/contents/{+path}","compare_url":"https://api.github.com/repos/advertima/snapshot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advertima/snapshot/merges","archive_url":"https://api.github.com/repos/advertima/snapshot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advertima/snapshot/downloads","issues_url":"https://api.github.com/repos/advertima/snapshot/issues{/number}","pulls_url":"https://api.github.com/repos/advertima/snapshot/pulls{/number}","milestones_url":"https://api.github.com/repos/advertima/snapshot/milestones{/number}","notifications_url":"https://api.github.com/repos/advertima/snapshot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advertima/snapshot/labels{/name}","releases_url":"https://api.github.com/repos/advertima/snapshot/releases{/id}","deployments_url":"https://api.github.com/repos/advertima/snapshot/deployments","created_at":"2019-10-24T16:24:20Z","updated_at":"2019-11-08T09:37:28Z","pushed_at":"2019-12-18T13:52:20Z","git_url":"git://github.com/advertima/snapshot.git","ssh_url":"git@github.com:advertima/snapshot.git","clone_url":"https://github.com/advertima/snapshot.git","svn_url":"https://github.com/advertima/snapshot","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/advertima/snapshot/pulls/2"},"html":{"href":"https://github.com/advertima/snapshot/pull/2"},"issue":{"href":"https://api.github.com/repos/advertima/snapshot/issues/2"},"comments":{"href":"https://api.github.com/repos/advertima/snapshot/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/advertima/snapshot/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/advertima/snapshot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/advertima/snapshot/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/advertima/snapshot/statuses/ad65ad29ea8d423a9ef331c260732b08c3b0de9d"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"micaelmbagira","id":10107323,"node_id":"MDQ6VXNlcjEwMTA3MzIz","avatar_url":"https://avatars2.githubusercontent.com/u/10107323?v=4","gravatar_id":"","url":"https://api.github.com/users/micaelmbagira","html_url":"https://github.com/micaelmbagira","followers_url":"https://api.github.com/users/micaelmbagira/followers","following_url":"https://api.github.com/users/micaelmbagira/following{/other_user}","gists_url":"https://api.github.com/users/micaelmbagira/gists{/gist_id}","starred_url":"https://api.github.com/users/micaelmbagira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaelmbagira/subscriptions","organizations_url":"https://api.github.com/users/micaelmbagira/orgs","repos_url":"https://api.github.com/users/micaelmbagira/repos","events_url":"https://api.github.com/users/micaelmbagira/events{/privacy}","received_events_url":"https://api.github.com/users/micaelmbagira/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":3,"changed_files":2}}
other: {"actor":{"display_login":"micaelmbagira"}}