{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/open-company/open-company-digest/pulls/20","id":262795855,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYyNzk1ODU1","html_url":"https://github.com/open-company/open-company-digest/pull/20","diff_url":"https://github.com/open-company/open-company-digest/pull/20.diff","patch_url":"https://github.com/open-company/open-company-digest/pull/20.patch","issue_url":"https://api.github.com/repos/open-company/open-company-digest/issues/20","number":20,"state":"closed","locked":false,"title":"Digest fast follow: count all reactions, not unique","user":{"login":"bago2k4","id":642704,"node_id":"MDQ6VXNlcjY0MjcwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/642704?v=4","gravatar_id":"","url":"https://api.github.com/users/bago2k4","html_url":"https://github.com/bago2k4","followers_url":"https://api.github.com/users/bago2k4/followers","following_url":"https://api.github.com/users/bago2k4/following{/other_user}","gists_url":"https://api.github.com/users/bago2k4/gists{/gist_id}","starred_url":"https://api.github.com/users/bago2k4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bago2k4/subscriptions","organizations_url":"https://api.github.com/users/bago2k4/orgs","repos_url":"https://api.github.com/users/bago2k4/repos","events_url":"https://api.github.com/users/bago2k4/events{/privacy}","received_events_url":"https://api.github.com/users/bago2k4/received_events","type":"User","site_admin":false},"body":"Card: https://trello.com/c/LJrfycle\r\n\r\nTo test:\r\n- user A: add a post and react to it\r\n- user B: add another reaction (not the same)\r\n- user A: add another post and add 3 reactions to it\r\n- user B: react to it, use some of the previous reactions and add some new one\r\n- user A: add a new post w/o reactions\r\n- user A: request Slack digest\r\n- [x] reactions count ok? Good\r\n- user B: request Email digest\r\n- [x] reactions count ok? Good\r\n","created_at":"2019-03-20T10:06:14Z","updated_at":"2019-03-25T12:50:39Z","closed_at":"2019-03-25T12:50:39Z","merged_at":"2019-03-25T12:50:39Z","merge_commit_sha":"01bf02d8bd45f39bcc7a25f599f0887d5d48719c","assignee":{"login":"bago2k4","id":642704,"node_id":"MDQ6VXNlcjY0MjcwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/642704?v=4","gravatar_id":"","url":"https://api.github.com/users/bago2k4","html_url":"https://github.com/bago2k4","followers_url":"https://api.github.com/users/bago2k4/followers","following_url":"https://api.github.com/users/bago2k4/following{/other_user}","gists_url":"https://api.github.com/users/bago2k4/gists{/gist_id}","starred_url":"https://api.github.com/users/bago2k4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bago2k4/subscriptions","organizations_url":"https://api.github.com/users/bago2k4/orgs","repos_url":"https://api.github.com/users/bago2k4/repos","events_url":"https://api.github.com/users/bago2k4/events{/privacy}","received_events_url":"https://api.github.com/users/bago2k4/received_events","type":"User","site_admin":false},"assignees":[{"login":"bago2k4","id":642704,"node_id":"MDQ6VXNlcjY0MjcwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/642704?v=4","gravatar_id":"","url":"https://api.github.com/users/bago2k4","html_url":"https://github.com/bago2k4","followers_url":"https://api.github.com/users/bago2k4/followers","following_url":"https://api.github.com/users/bago2k4/following{/other_user}","gists_url":"https://api.github.com/users/bago2k4/gists{/gist_id}","starred_url":"https://api.github.com/users/bago2k4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bago2k4/subscriptions","organizations_url":"https://api.github.com/users/bago2k4/orgs","repos_url":"https://api.github.com/users/bago2k4/repos","events_url":"https://api.github.com/users/bago2k4/events{/privacy}","received_events_url":"https://api.github.com/users/bago2k4/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"belucid","id":12163,"node_id":"MDQ6VXNlcjEyMTYz","avatar_url":"https://avatars1.githubusercontent.com/u/12163?v=4","gravatar_id":"","url":"https://api.github.com/users/belucid","html_url":"https://github.com/belucid","followers_url":"https://api.github.com/users/belucid/followers","following_url":"https://api.github.com/users/belucid/following{/other_user}","gists_url":"https://api.github.com/users/belucid/gists{/gist_id}","starred_url":"https://api.github.com/users/belucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belucid/subscriptions","organizations_url":"https://api.github.com/users/belucid/orgs","repos_url":"https://api.github.com/users/belucid/repos","events_url":"https://api.github.com/users/belucid/events{/privacy}","received_events_url":"https://api.github.com/users/belucid/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":806263579,"node_id":"MDU6TGFiZWw4MDYyNjM1Nzk=","url":"https://api.github.com/repos/open-company/open-company-digest/labels/ready%20for%20deploy","name":"ready for deploy","color":"d4f6e4","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/open-company/open-company-digest/pulls/20/commits","review_comments_url":"https://api.github.com/repos/open-company/open-company-digest/pulls/20/comments","review_comment_url":"https://api.github.com/repos/open-company/open-company-digest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-company/open-company-digest/issues/20/comments","statuses_url":"https://api.github.com/repos/open-company/open-company-digest/statuses/f0381aba052ec9e9a358031ff766198ada86d512","head":{"label":"open-company:fix-reactions-count","ref":"fix-reactions-count","sha":"f0381aba052ec9e9a358031ff766198ada86d512","user":{"login":"open-company","id":13063090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDkw","avatar_url":"https://avatars3.githubusercontent.com/u/13063090?v=4","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"repo":{"id":115112517,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUxMTI1MTc=","name":"open-company-digest","full_name":"open-company/open-company-digest","private":false,"owner":{"login":"open-company","id":13063090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDkw","avatar_url":"https://avatars3.githubusercontent.com/u/13063090?v=4","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-company/open-company-digest","description":"OpenCompany Digest Service - send daily and weekly digest notifications","fork":false,"url":"https://api.github.com/repos/open-company/open-company-digest","forks_url":"https://api.github.com/repos/open-company/open-company-digest/forks","keys_url":"https://api.github.com/repos/open-company/open-company-digest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-company/open-company-digest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-company/open-company-digest/teams","hooks_url":"https://api.github.com/repos/open-company/open-company-digest/hooks","issue_events_url":"https://api.github.com/repos/open-company/open-company-digest/issues/events{/number}","events_url":"https://api.github.com/repos/open-company/open-company-digest/events","assignees_url":"https://api.github.com/repos/open-company/open-company-digest/assignees{/user}","branches_url":"https://api.github.com/repos/open-company/open-company-digest/branches{/branch}","tags_url":"https://api.github.com/repos/open-company/open-company-digest/tags","blobs_url":"https://api.github.com/repos/open-company/open-company-digest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-company/open-company-digest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-company/open-company-digest/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-company/open-company-digest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-company/open-company-digest/statuses/{sha}","languages_url":"https://api.github.com/repos/open-company/open-company-digest/languages","stargazers_url":"https://api.github.com/repos/open-company/open-company-digest/stargazers","contributors_url":"https://api.github.com/repos/open-company/open-company-digest/contributors","subscribers_url":"https://api.github.com/repos/open-company/open-company-digest/subscribers","subscription_url":"https://api.github.com/repos/open-company/open-company-digest/subscription","commits_url":"https://api.github.com/repos/open-company/open-company-digest/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-company/open-company-digest/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-company/open-company-digest/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-company/open-company-digest/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-company/open-company-digest/contents/{+path}","compare_url":"https://api.github.com/repos/open-company/open-company-digest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-company/open-company-digest/merges","archive_url":"https://api.github.com/repos/open-company/open-company-digest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-company/open-company-digest/downloads","issues_url":"https://api.github.com/repos/open-company/open-company-digest/issues{/number}","pulls_url":"https://api.github.com/repos/open-company/open-company-digest/pulls{/number}","milestones_url":"https://api.github.com/repos/open-company/open-company-digest/milestones{/number}","notifications_url":"https://api.github.com/repos/open-company/open-company-digest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-company/open-company-digest/labels{/name}","releases_url":"https://api.github.com/repos/open-company/open-company-digest/releases{/id}","deployments_url":"https://api.github.com/repos/open-company/open-company-digest/deployments","created_at":"2017-12-22T12:15:28Z","updated_at":"2019-03-04T22:24:18Z","pushed_at":"2019-03-25T12:50:39Z","git_url":"git://github.com/open-company/open-company-digest.git","ssh_url":"git@github.com:open-company/open-company-digest.git","clone_url":"https://github.com/open-company/open-company-digest.git","svn_url":"https://github.com/open-company/open-company-digest","homepage":"","size":112,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"mainline"}},"base":{"label":"open-company:mainline","ref":"mainline","sha":"a275913a35e9cde557b60bdcad08daa96e8596b7","user":{"login":"open-company","id":13063090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDkw","avatar_url":"https://avatars3.githubusercontent.com/u/13063090?v=4","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"repo":{"id":115112517,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUxMTI1MTc=","name":"open-company-digest","full_name":"open-company/open-company-digest","private":false,"owner":{"login":"open-company","id":13063090,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDkw","avatar_url":"https://avatars3.githubusercontent.com/u/13063090?v=4","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-company/open-company-digest","description":"OpenCompany Digest Service - send daily and weekly digest notifications","fork":false,"url":"https://api.github.com/repos/open-company/open-company-digest","forks_url":"https://api.github.com/repos/open-company/open-company-digest/forks","keys_url":"https://api.github.com/repos/open-company/open-company-digest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-company/open-company-digest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-company/open-company-digest/teams","hooks_url":"https://api.github.com/repos/open-company/open-company-digest/hooks","issue_events_url":"https://api.github.com/repos/open-company/open-company-digest/issues/events{/number}","events_url":"https://api.github.com/repos/open-company/open-company-digest/events","assignees_url":"https://api.github.com/repos/open-company/open-company-digest/assignees{/user}","branches_url":"https://api.github.com/repos/open-company/open-company-digest/branches{/branch}","tags_url":"https://api.github.com/repos/open-company/open-company-digest/tags","blobs_url":"https://api.github.com/repos/open-company/open-company-digest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-company/open-company-digest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-company/open-company-digest/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-company/open-company-digest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-company/open-company-digest/statuses/{sha}","languages_url":"https://api.github.com/repos/open-company/open-company-digest/languages","stargazers_url":"https://api.github.com/repos/open-company/open-company-digest/stargazers","contributors_url":"https://api.github.com/repos/open-company/open-company-digest/contributors","subscribers_url":"https://api.github.com/repos/open-company/open-company-digest/subscribers","subscription_url":"https://api.github.com/repos/open-company/open-company-digest/subscription","commits_url":"https://api.github.com/repos/open-company/open-company-digest/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-company/open-company-digest/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-company/open-company-digest/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-company/open-company-digest/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-company/open-company-digest/contents/{+path}","compare_url":"https://api.github.com/repos/open-company/open-company-digest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-company/open-company-digest/merges","archive_url":"https://api.github.com/repos/open-company/open-company-digest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-company/open-company-digest/downloads","issues_url":"https://api.github.com/repos/open-company/open-company-digest/issues{/number}","pulls_url":"https://api.github.com/repos/open-company/open-company-digest/pulls{/number}","milestones_url":"https://api.github.com/repos/open-company/open-company-digest/milestones{/number}","notifications_url":"https://api.github.com/repos/open-company/open-company-digest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-company/open-company-digest/labels{/name}","releases_url":"https://api.github.com/repos/open-company/open-company-digest/releases{/id}","deployments_url":"https://api.github.com/repos/open-company/open-company-digest/deployments","created_at":"2017-12-22T12:15:28Z","updated_at":"2019-03-04T22:24:18Z","pushed_at":"2019-03-25T12:50:39Z","git_url":"git://github.com/open-company/open-company-digest.git","ssh_url":"git@github.com:open-company/open-company-digest.git","clone_url":"https://github.com/open-company/open-company-digest.git","svn_url":"https://github.com/open-company/open-company-digest","homepage":"","size":112,"stargazers_count":1,"watchers_count":1,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"mainline"}},"_links":{"self":{"href":"https://api.github.com/repos/open-company/open-company-digest/pulls/20"},"html":{"href":"https://github.com/open-company/open-company-digest/pull/20"},"issue":{"href":"https://api.github.com/repos/open-company/open-company-digest/issues/20"},"comments":{"href":"https://api.github.com/repos/open-company/open-company-digest/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/open-company/open-company-digest/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/open-company/open-company-digest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-company/open-company-digest/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/open-company/open-company-digest/statuses/f0381aba052ec9e9a358031ff766198ada86d512"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"belucid","id":12163,"node_id":"MDQ6VXNlcjEyMTYz","avatar_url":"https://avatars1.githubusercontent.com/u/12163?v=4","gravatar_id":"","url":"https://api.github.com/users/belucid","html_url":"https://github.com/belucid","followers_url":"https://api.github.com/users/belucid/followers","following_url":"https://api.github.com/users/belucid/following{/other_user}","gists_url":"https://api.github.com/users/belucid/gists{/gist_id}","starred_url":"https://api.github.com/users/belucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belucid/subscriptions","organizations_url":"https://api.github.com/users/belucid/orgs","repos_url":"https://api.github.com/users/belucid/repos","events_url":"https://api.github.com/users/belucid/events{/privacy}","received_events_url":"https://api.github.com/users/belucid/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":6,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"belucid"}}