{"action":"created","comment":{"url":"https://api.github.com/repos/episerver/SocialAlloy/pulls/comments/134041390","pull_request_review_id":57296072,"id":134041390,"diff_hunk":"@@ -104,21 +105,17 @@ public bool Exist(PageSubscriptionFilter filter)\n         /// Episerver Social cloud subscription repository.</exception>\n         public void Remove(PageSubscription subscription)\n         {\n-            var removeSubscription = AdaptSubscription(subscription);\n-\n             try\n             {\n-                this.subscriptionService.Remove(\n-                    new Criteria<SubscriptionFilter>\n-                    {\n-                        Filter = new SubscriptionFilter\n-                        {\n-                            Subscriber = removeSubscription.Subscriber,\n-                            Target = removeSubscription.Target,\n-                            Type = removeSubscription.Type\n-                        }\n-                    }\n-                );\n+                var removeSubscription = AdaptSubscription(subscription);\n+\n+                var subscriptionFilters = new SubscriptionFilters();","path":"src/EPiServer.SocialAlloy.Web/Social/Repositories/ActivityStreams/PageSubscriptionRepository.cs","position":63,"original_position":63,"commit_id":"7929f561acef7d25511e5b454c8530322d9c6c54","original_commit_id":"7929f561acef7d25511e5b454c8530322d9c6c54","user":{"login":"epihacker","id":12846829,"avatar_url":"https://avatars0.githubusercontent.com/u/12846829?v=4","gravatar_id":"","url":"https://api.github.com/users/epihacker","html_url":"https://github.com/epihacker","followers_url":"https://api.github.com/users/epihacker/followers","following_url":"https://api.github.com/users/epihacker/following{/other_user}","gists_url":"https://api.github.com/users/epihacker/gists{/gist_id}","starred_url":"https://api.github.com/users/epihacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epihacker/subscriptions","organizations_url":"https://api.github.com/users/epihacker/orgs","repos_url":"https://api.github.com/users/epihacker/repos","events_url":"https://api.github.com/users/epihacker/events{/privacy}","received_events_url":"https://api.github.com/users/epihacker/received_events","type":"User","site_admin":false},"body":"good catch!","created_at":"2017-08-18T19:47:53Z","updated_at":"2017-08-18T19:47:53Z","html_url":"https://github.com/episerver/SocialAlloy/pull/51#discussion_r134041390","pull_request_url":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/episerver/SocialAlloy/pulls/comments/134041390"},"html":{"href":"https://github.com/episerver/SocialAlloy/pull/51#discussion_r134041390"},"pull_request":{"href":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51","id":136265457,"html_url":"https://github.com/episerver/SocialAlloy/pull/51","diff_url":"https://github.com/episerver/SocialAlloy/pull/51.diff","patch_url":"https://github.com/episerver/SocialAlloy/pull/51.patch","issue_url":"https://api.github.com/repos/episerver/SocialAlloy/issues/51","number":51,"state":"open","locked":false,"title":"Update to use version 2.0 of social client packages","user":{"login":"epihacker","id":12846829,"avatar_url":"https://avatars0.githubusercontent.com/u/12846829?v=4","gravatar_id":"","url":"https://api.github.com/users/epihacker","html_url":"https://github.com/epihacker","followers_url":"https://api.github.com/users/epihacker/followers","following_url":"https://api.github.com/users/epihacker/following{/other_user}","gists_url":"https://api.github.com/users/epihacker/gists{/gist_id}","starred_url":"https://api.github.com/users/epihacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epihacker/subscriptions","organizations_url":"https://api.github.com/users/epihacker/orgs","repos_url":"https://api.github.com/users/epihacker/repos","events_url":"https://api.github.com/users/epihacker/events{/privacy}","received_events_url":"https://api.github.com/users/epihacker/received_events","type":"User","site_admin":false},"body":"Updated the social client packages to version 2.0 and updated the code to conform to that version.","created_at":"2017-08-17T14:04:25Z","updated_at":"2017-08-18T19:47:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acc286aa3f0df4e4ab9de2b728f9f9f8085c8fd9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"BenSchaefer","id":23526738,"avatar_url":"https://avatars2.githubusercontent.com/u/23526738?v=4","gravatar_id":"","url":"https://api.github.com/users/BenSchaefer","html_url":"https://github.com/BenSchaefer","followers_url":"https://api.github.com/users/BenSchaefer/followers","following_url":"https://api.github.com/users/BenSchaefer/following{/other_user}","gists_url":"https://api.github.com/users/BenSchaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/BenSchaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenSchaefer/subscriptions","organizations_url":"https://api.github.com/users/BenSchaefer/orgs","repos_url":"https://api.github.com/users/BenSchaefer/repos","events_url":"https://api.github.com/users/BenSchaefer/events{/privacy}","received_events_url":"https://api.github.com/users/BenSchaefer/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51/commits","review_comments_url":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51/comments","review_comment_url":"https://api.github.com/repos/episerver/SocialAlloy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/episerver/SocialAlloy/issues/51/comments","statuses_url":"https://api.github.com/repos/episerver/SocialAlloy/statuses/7929f561acef7d25511e5b454c8530322d9c6c54","head":{"label":"episerver:episerver-social-2.0","ref":"episerver-social-2.0","sha":"7929f561acef7d25511e5b454c8530322d9c6c54","user":{"login":"episerver","id":1453048,"avatar_url":"https://avatars2.githubusercontent.com/u/1453048?v=4","gravatar_id":"","url":"https://api.github.com/users/episerver","html_url":"https://github.com/episerver","followers_url":"https://api.github.com/users/episerver/followers","following_url":"https://api.github.com/users/episerver/following{/other_user}","gists_url":"https://api.github.com/users/episerver/gists{/gist_id}","starred_url":"https://api.github.com/users/episerver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/episerver/subscriptions","organizations_url":"https://api.github.com/users/episerver/orgs","repos_url":"https://api.github.com/users/episerver/repos","events_url":"https://api.github.com/users/episerver/events{/privacy}","received_events_url":"https://api.github.com/users/episerver/received_events","type":"Organization","site_admin":false},"repo":{"id":74036685,"name":"SocialAlloy","full_name":"episerver/SocialAlloy","owner":{"login":"episerver","id":1453048,"avatar_url":"https://avatars2.githubusercontent.com/u/1453048?v=4","gravatar_id":"","url":"https://api.github.com/users/episerver","html_url":"https://github.com/episerver","followers_url":"https://api.github.com/users/episerver/followers","following_url":"https://api.github.com/users/episerver/following{/other_user}","gists_url":"https://api.github.com/users/episerver/gists{/gist_id}","starred_url":"https://api.github.com/users/episerver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/episerver/subscriptions","organizations_url":"https://api.github.com/users/episerver/orgs","repos_url":"https://api.github.com/users/episerver/repos","events_url":"https://api.github.com/users/episerver/events{/privacy}","received_events_url":"https://api.github.com/users/episerver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/episerver/SocialAlloy","description":"Reference implementation demonstrating features of Episerver Social","fork":false,"url":"https://api.github.com/repos/episerver/SocialAlloy","forks_url":"https://api.github.com/repos/episerver/SocialAlloy/forks","keys_url":"https://api.github.com/repos/episerver/SocialAlloy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/episerver/SocialAlloy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/episerver/SocialAlloy/teams","hooks_url":"https://api.github.com/repos/episerver/SocialAlloy/hooks","issue_events_url":"https://api.github.com/repos/episerver/SocialAlloy/issues/events{/number}","events_url":"https://api.github.com/repos/episerver/SocialAlloy/events","assignees_url":"https://api.github.com/repos/episerver/SocialAlloy/assignees{/user}","branches_url":"https://api.github.com/repos/episerver/SocialAlloy/branches{/branch}","tags_url":"https://api.github.com/repos/episerver/SocialAlloy/tags","blobs_url":"https://api.github.com/repos/episerver/SocialAlloy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/episerver/SocialAlloy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/episerver/SocialAlloy/git/refs{/sha}","trees_url":"https://api.github.com/repos/episerver/SocialAlloy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/episerver/SocialAlloy/statuses/{sha}","languages_url":"https://api.github.com/repos/episerver/SocialAlloy/languages","stargazers_url":"https://api.github.com/repos/episerver/SocialAlloy/stargazers","contributors_url":"https://api.github.com/repos/episerver/SocialAlloy/contributors","subscribers_url":"https://api.github.com/repos/episerver/SocialAlloy/subscribers","subscription_url":"https://api.github.com/repos/episerver/SocialAlloy/subscription","commits_url":"https://api.github.com/repos/episerver/SocialAlloy/commits{/sha}","git_commits_url":"https://api.github.com/repos/episerver/SocialAlloy/git/commits{/sha}","comments_url":"https://api.github.com/repos/episerver/SocialAlloy/comments{/number}","issue_comment_url":"https://api.github.com/repos/episerver/SocialAlloy/issues/comments{/number}","contents_url":"https://api.github.com/repos/episerver/SocialAlloy/contents/{+path}","compare_url":"https://api.github.com/repos/episerver/SocialAlloy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/episerver/SocialAlloy/merges","archive_url":"https://api.github.com/repos/episerver/SocialAlloy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/episerver/SocialAlloy/downloads","issues_url":"https://api.github.com/repos/episerver/SocialAlloy/issues{/number}","pulls_url":"https://api.github.com/repos/episerver/SocialAlloy/pulls{/number}","milestones_url":"https://api.github.com/repos/episerver/SocialAlloy/milestones{/number}","notifications_url":"https://api.github.com/repos/episerver/SocialAlloy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/episerver/SocialAlloy/labels{/name}","releases_url":"https://api.github.com/repos/episerver/SocialAlloy/releases{/id}","deployments_url":"https://api.github.com/repos/episerver/SocialAlloy/deployments","created_at":"2016-11-17T14:49:37Z","updated_at":"2017-08-04T11:57:52Z","pushed_at":"2017-08-17T14:04:26Z","git_url":"git://github.com/episerver/SocialAlloy.git","ssh_url":"git@github.com:episerver/SocialAlloy.git","clone_url":"https://github.com/episerver/SocialAlloy.git","svn_url":"https://github.com/episerver/SocialAlloy","homepage":"http://world.episerver.com/documentation/developer-guides/social/","size":46150,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"episerver:release/2.0.0","ref":"release/2.0.0","sha":"e7f2f9e9e4b45899fc30e3875c30f763f4c205f1","user":{"login":"episerver","id":1453048,"avatar_url":"https://avatars2.githubusercontent.com/u/1453048?v=4","gravatar_id":"","url":"https://api.github.com/users/episerver","html_url":"https://github.com/episerver","followers_url":"https://api.github.com/users/episerver/followers","following_url":"https://api.github.com/users/episerver/following{/other_user}","gists_url":"https://api.github.com/users/episerver/gists{/gist_id}","starred_url":"https://api.github.com/users/episerver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/episerver/subscriptions","organizations_url":"https://api.github.com/users/episerver/orgs","repos_url":"https://api.github.com/users/episerver/repos","events_url":"https://api.github.com/users/episerver/events{/privacy}","received_events_url":"https://api.github.com/users/episerver/received_events","type":"Organization","site_admin":false},"repo":{"id":74036685,"name":"SocialAlloy","full_name":"episerver/SocialAlloy","owner":{"login":"episerver","id":1453048,"avatar_url":"https://avatars2.githubusercontent.com/u/1453048?v=4","gravatar_id":"","url":"https://api.github.com/users/episerver","html_url":"https://github.com/episerver","followers_url":"https://api.github.com/users/episerver/followers","following_url":"https://api.github.com/users/episerver/following{/other_user}","gists_url":"https://api.github.com/users/episerver/gists{/gist_id}","starred_url":"https://api.github.com/users/episerver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/episerver/subscriptions","organizations_url":"https://api.github.com/users/episerver/orgs","repos_url":"https://api.github.com/users/episerver/repos","events_url":"https://api.github.com/users/episerver/events{/privacy}","received_events_url":"https://api.github.com/users/episerver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/episerver/SocialAlloy","description":"Reference implementation demonstrating features of Episerver Social","fork":false,"url":"https://api.github.com/repos/episerver/SocialAlloy","forks_url":"https://api.github.com/repos/episerver/SocialAlloy/forks","keys_url":"https://api.github.com/repos/episerver/SocialAlloy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/episerver/SocialAlloy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/episerver/SocialAlloy/teams","hooks_url":"https://api.github.com/repos/episerver/SocialAlloy/hooks","issue_events_url":"https://api.github.com/repos/episerver/SocialAlloy/issues/events{/number}","events_url":"https://api.github.com/repos/episerver/SocialAlloy/events","assignees_url":"https://api.github.com/repos/episerver/SocialAlloy/assignees{/user}","branches_url":"https://api.github.com/repos/episerver/SocialAlloy/branches{/branch}","tags_url":"https://api.github.com/repos/episerver/SocialAlloy/tags","blobs_url":"https://api.github.com/repos/episerver/SocialAlloy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/episerver/SocialAlloy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/episerver/SocialAlloy/git/refs{/sha}","trees_url":"https://api.github.com/repos/episerver/SocialAlloy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/episerver/SocialAlloy/statuses/{sha}","languages_url":"https://api.github.com/repos/episerver/SocialAlloy/languages","stargazers_url":"https://api.github.com/repos/episerver/SocialAlloy/stargazers","contributors_url":"https://api.github.com/repos/episerver/SocialAlloy/contributors","subscribers_url":"https://api.github.com/repos/episerver/SocialAlloy/subscribers","subscription_url":"https://api.github.com/repos/episerver/SocialAlloy/subscription","commits_url":"https://api.github.com/repos/episerver/SocialAlloy/commits{/sha}","git_commits_url":"https://api.github.com/repos/episerver/SocialAlloy/git/commits{/sha}","comments_url":"https://api.github.com/repos/episerver/SocialAlloy/comments{/number}","issue_comment_url":"https://api.github.com/repos/episerver/SocialAlloy/issues/comments{/number}","contents_url":"https://api.github.com/repos/episerver/SocialAlloy/contents/{+path}","compare_url":"https://api.github.com/repos/episerver/SocialAlloy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/episerver/SocialAlloy/merges","archive_url":"https://api.github.com/repos/episerver/SocialAlloy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/episerver/SocialAlloy/downloads","issues_url":"https://api.github.com/repos/episerver/SocialAlloy/issues{/number}","pulls_url":"https://api.github.com/repos/episerver/SocialAlloy/pulls{/number}","milestones_url":"https://api.github.com/repos/episerver/SocialAlloy/milestones{/number}","notifications_url":"https://api.github.com/repos/episerver/SocialAlloy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/episerver/SocialAlloy/labels{/name}","releases_url":"https://api.github.com/repos/episerver/SocialAlloy/releases{/id}","deployments_url":"https://api.github.com/repos/episerver/SocialAlloy/deployments","created_at":"2016-11-17T14:49:37Z","updated_at":"2017-08-04T11:57:52Z","pushed_at":"2017-08-17T14:04:26Z","git_url":"git://github.com/episerver/SocialAlloy.git","ssh_url":"git@github.com:episerver/SocialAlloy.git","clone_url":"https://github.com/episerver/SocialAlloy.git","svn_url":"https://github.com/episerver/SocialAlloy","homepage":"http://world.episerver.com/documentation/developer-guides/social/","size":46150,"stargazers_count":6,"watchers_count":6,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51"},"html":{"href":"https://github.com/episerver/SocialAlloy/pull/51"},"issue":{"href":"https://api.github.com/repos/episerver/SocialAlloy/issues/51"},"comments":{"href":"https://api.github.com/repos/episerver/SocialAlloy/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/episerver/SocialAlloy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/episerver/SocialAlloy/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/episerver/SocialAlloy/statuses/7929f561acef7d25511e5b454c8530322d9c6c54"}}}}
{"actor":{"display_login":"epihacker"}}