{"action":"created","comment":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/comments/222390349","pull_request_review_id":160959006,"id":222390349,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjM5MDM0OQ==","diff_hunk":"@@ -0,0 +1,79 @@\n+﻿// Copyright (c) .NET Foundation. All rights reserved.\n+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.\n+\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Net.Mail;\n+\n+namespace NuGetGallery.Infrastructure.Mail\n+{\n+    public class EmailRecipientsWithPermission\n+        : IEmailRecipients\n+    {\n+        public EmailRecipientsWithPermission(\n+            User user,\n+            ActionRequiringAccountPermissions action,\n+            IReadOnlyList<MailAddress> cc = null,\n+            IReadOnlyList<MailAddress> bcc = null,\n+            IReadOnlyList<MailAddress> replyTo = null)\n+        {\n+            if (user == null)\n+            {\n+                throw new ArgumentNullException(nameof(user));\n+            }\n+\n+            if (action == null)\n+            {\n+                throw new ArgumentNullException(nameof(action));\n+            }\n+\n+            To = AddAddressesWithPermission(user, action);\n+\n+            CC = cc ?? new List<MailAddress>();\n+            Bcc = bcc ?? new List<MailAddress>();\n+            ReplyTo = replyTo ?? new List<MailAddress>();\n+        }\n+\n+        public IReadOnlyList<MailAddress> To { get; }\n+\n+        public IReadOnlyList<MailAddress> CC { get; }\n+\n+        public IReadOnlyList<MailAddress> Bcc { get; }\n+\n+        public IReadOnlyList<MailAddress> ReplyTo { get; }\n+\n+        private static IReadOnlyList<MailAddress> AddAddressesWithPermission(User user, ActionRequiringAccountPermissions action)\n+        {\n+            var recipients = new List<MailAddress>();\n+\n+            if (user is Organization organization)\n+            {\n+                var membersAllowedToAct = organization.Members\n+                    .Where(m => action.CheckPermissions(m.Member, m.Organization) == PermissionsCheckResult.Allowed)\n+                    .Select(m => m.Member);\n+\n+                foreach (var member in membersAllowedToAct)\n+                {\n+                    if (!member.EmailAllowed)\n+                    {\n+                        continue;\n+                    }\n+\n+                    recipients.Add(member.ToMailAddress());\n+                }\n+            }\n+            else","path":"src/NuGetGallery/Infrastructure/Mail/EmailRecipientsWithPermission.cs","position":66,"original_position":66,"commit_id":"1f249c34f8bc9b4039b7f81f84601e372348b89e","original_commit_id":"1f249c34f8bc9b4039b7f81f84601e372348b89e","user":{"login":"chenriksson","id":15364949,"node_id":"MDQ6VXNlcjE1MzY0OTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/15364949?v=4","gravatar_id":"","url":"https://api.github.com/users/chenriksson","html_url":"https://github.com/chenriksson","followers_url":"https://api.github.com/users/chenriksson/followers","following_url":"https://api.github.com/users/chenriksson/following{/other_user}","gists_url":"https://api.github.com/users/chenriksson/gists{/gist_id}","starred_url":"https://api.github.com/users/chenriksson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenriksson/subscriptions","organizations_url":"https://api.github.com/users/chenriksson/orgs","repos_url":"https://api.github.com/users/chenriksson/repos","events_url":"https://api.github.com/users/chenriksson/events{/privacy}","received_events_url":"https://api.github.com/users/chenriksson/received_events","type":"User","site_admin":false},"body":"could simplify this block:\r\n```\r\nelse if (user.EmailAllowed)\r\n{\r\n  recipients.Add(user.ToMailAddress());\r\n}\r\nreturn recipients;\r\n```","created_at":"2018-10-03T17:04:49Z","updated_at":"2018-10-03T17:15:57Z","html_url":"https://github.com/NuGet/NuGetGallery/pull/6505#discussion_r222390349","pull_request_url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/comments/222390349"},"html":{"href":"https://github.com/NuGet/NuGetGallery/pull/6505#discussion_r222390349"},"pull_request":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505"}}},"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505","id":219716429,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NzE2NDI5","html_url":"https://github.com/NuGet/NuGetGallery/pull/6505","diff_url":"https://github.com/NuGet/NuGetGallery/pull/6505.diff","patch_url":"https://github.com/NuGet/NuGetGallery/pull/6505.patch","issue_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/6505","number":6505,"state":"open","locked":false,"title":"Refactoring of email messaging infrastructure","user":{"login":"xavierdecoster","id":880728,"node_id":"MDQ6VXNlcjg4MDcyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/880728?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierdecoster","html_url":"https://github.com/xavierdecoster","followers_url":"https://api.github.com/users/xavierdecoster/followers","following_url":"https://api.github.com/users/xavierdecoster/following{/other_user}","gists_url":"https://api.github.com/users/xavierdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierdecoster/subscriptions","organizations_url":"https://api.github.com/users/xavierdecoster/orgs","repos_url":"https://api.github.com/users/xavierdecoster/repos","events_url":"https://api.github.com/users/xavierdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/xavierdecoster/received_events","type":"User","site_admin":false},"body":"This PR only refactors the code so that it is easier to extend the email infrastructure.","created_at":"2018-10-02T14:06:12Z","updated_at":"2018-10-03T17:15:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fa43aa63f397adfce997810960bcf7fdb5a3ae0","assignee":{"login":"xavierdecoster","id":880728,"node_id":"MDQ6VXNlcjg4MDcyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/880728?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierdecoster","html_url":"https://github.com/xavierdecoster","followers_url":"https://api.github.com/users/xavierdecoster/followers","following_url":"https://api.github.com/users/xavierdecoster/following{/other_user}","gists_url":"https://api.github.com/users/xavierdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierdecoster/subscriptions","organizations_url":"https://api.github.com/users/xavierdecoster/orgs","repos_url":"https://api.github.com/users/xavierdecoster/repos","events_url":"https://api.github.com/users/xavierdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/xavierdecoster/received_events","type":"User","site_admin":false},"assignees":[{"login":"xavierdecoster","id":880728,"node_id":"MDQ6VXNlcjg4MDcyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/880728?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierdecoster","html_url":"https://github.com/xavierdecoster","followers_url":"https://api.github.com/users/xavierdecoster/followers","following_url":"https://api.github.com/users/xavierdecoster/following{/other_user}","gists_url":"https://api.github.com/users/xavierdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierdecoster/subscriptions","organizations_url":"https://api.github.com/users/xavierdecoster/orgs","repos_url":"https://api.github.com/users/xavierdecoster/repos","events_url":"https://api.github.com/users/xavierdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/xavierdecoster/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"joelverhagen","id":94054,"node_id":"MDQ6VXNlcjk0MDU0","avatar_url":"https://avatars0.githubusercontent.com/u/94054?v=4","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},{"login":"skofman1","id":16807822,"node_id":"MDQ6VXNlcjE2ODA3ODIy","avatar_url":"https://avatars1.githubusercontent.com/u/16807822?v=4","gravatar_id":"","url":"https://api.github.com/users/skofman1","html_url":"https://github.com/skofman1","followers_url":"https://api.github.com/users/skofman1/followers","following_url":"https://api.github.com/users/skofman1/following{/other_user}","gists_url":"https://api.github.com/users/skofman1/gists{/gist_id}","starred_url":"https://api.github.com/users/skofman1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skofman1/subscriptions","organizations_url":"https://api.github.com/users/skofman1/orgs","repos_url":"https://api.github.com/users/skofman1/repos","events_url":"https://api.github.com/users/skofman1/events{/privacy}","received_events_url":"https://api.github.com/users/skofman1/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":539495262,"node_id":"MDU6TGFiZWw1Mzk0OTUyNjI=","url":"https://api.github.com/repos/NuGet/NuGetGallery/labels/Pillar:%20Engineering","name":"Pillar: Engineering","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505/commits","review_comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505/comments","review_comment_url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/6505/comments","statuses_url":"https://api.github.com/repos/NuGet/NuGetGallery/statuses/1f249c34f8bc9b4039b7f81f84601e372348b89e","head":{"label":"NuGet:dev-issue2565-1","ref":"dev-issue2565-1","sha":"1f249c34f8bc9b4039b7f81f84601e372348b89e","user":{"login":"NuGet","id":968310,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk2ODMxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/968310?v=4","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":2180736,"node_id":"MDEwOlJlcG9zaXRvcnkyMTgwNzM2","name":"NuGetGallery","full_name":"NuGet/NuGetGallery","private":false,"owner":{"login":"NuGet","id":968310,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk2ODMxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/968310?v=4","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NuGet/NuGetGallery","description":"The NuGet Gallery","fork":false,"url":"https://api.github.com/repos/NuGet/NuGetGallery","forks_url":"https://api.github.com/repos/NuGet/NuGetGallery/forks","keys_url":"https://api.github.com/repos/NuGet/NuGetGallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGetGallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGetGallery/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGetGallery/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGetGallery/events","assignees_url":"https://api.github.com/repos/NuGet/NuGetGallery/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGetGallery/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGetGallery/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGetGallery/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGetGallery/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGetGallery/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGetGallery/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGetGallery/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGetGallery/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGetGallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGetGallery/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGetGallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGetGallery/merges","archive_url":"https://api.github.com/repos/NuGet/NuGetGallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGetGallery/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGetGallery/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGetGallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGetGallery/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGetGallery/deployments","created_at":"2011-08-09T17:57:32Z","updated_at":"2018-10-03T10:00:51Z","pushed_at":"2018-10-03T10:36:27Z","git_url":"git://github.com/NuGet/NuGetGallery.git","ssh_url":"git@github.com:NuGet/NuGetGallery.git","clone_url":"https://github.com/NuGet/NuGetGallery.git","svn_url":"https://github.com/NuGet/NuGetGallery","homepage":"https://www.nuget.org","size":50753,"stargazers_count":1038,"watchers_count":1038,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":558,"mirror_url":null,"archived":false,"open_issues_count":494,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":558,"open_issues":494,"watchers":1038,"default_branch":"master"}},"base":{"label":"NuGet:dev","ref":"dev","sha":"dd91e10bef1876213af8c5506b0c2b09cfef57af","user":{"login":"NuGet","id":968310,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk2ODMxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/968310?v=4","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"repo":{"id":2180736,"node_id":"MDEwOlJlcG9zaXRvcnkyMTgwNzM2","name":"NuGetGallery","full_name":"NuGet/NuGetGallery","private":false,"owner":{"login":"NuGet","id":968310,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk2ODMxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/968310?v=4","gravatar_id":"","url":"https://api.github.com/users/NuGet","html_url":"https://github.com/NuGet","followers_url":"https://api.github.com/users/NuGet/followers","following_url":"https://api.github.com/users/NuGet/following{/other_user}","gists_url":"https://api.github.com/users/NuGet/gists{/gist_id}","starred_url":"https://api.github.com/users/NuGet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuGet/subscriptions","organizations_url":"https://api.github.com/users/NuGet/orgs","repos_url":"https://api.github.com/users/NuGet/repos","events_url":"https://api.github.com/users/NuGet/events{/privacy}","received_events_url":"https://api.github.com/users/NuGet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NuGet/NuGetGallery","description":"The NuGet Gallery","fork":false,"url":"https://api.github.com/repos/NuGet/NuGetGallery","forks_url":"https://api.github.com/repos/NuGet/NuGetGallery/forks","keys_url":"https://api.github.com/repos/NuGet/NuGetGallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuGet/NuGetGallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuGet/NuGetGallery/teams","hooks_url":"https://api.github.com/repos/NuGet/NuGetGallery/hooks","issue_events_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/events{/number}","events_url":"https://api.github.com/repos/NuGet/NuGetGallery/events","assignees_url":"https://api.github.com/repos/NuGet/NuGetGallery/assignees{/user}","branches_url":"https://api.github.com/repos/NuGet/NuGetGallery/branches{/branch}","tags_url":"https://api.github.com/repos/NuGet/NuGetGallery/tags","blobs_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuGet/NuGetGallery/statuses/{sha}","languages_url":"https://api.github.com/repos/NuGet/NuGetGallery/languages","stargazers_url":"https://api.github.com/repos/NuGet/NuGetGallery/stargazers","contributors_url":"https://api.github.com/repos/NuGet/NuGetGallery/contributors","subscribers_url":"https://api.github.com/repos/NuGet/NuGetGallery/subscribers","subscription_url":"https://api.github.com/repos/NuGet/NuGetGallery/subscription","commits_url":"https://api.github.com/repos/NuGet/NuGetGallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuGet/NuGetGallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuGet/NuGetGallery/contents/{+path}","compare_url":"https://api.github.com/repos/NuGet/NuGetGallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuGet/NuGetGallery/merges","archive_url":"https://api.github.com/repos/NuGet/NuGetGallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuGet/NuGetGallery/downloads","issues_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues{/number}","pulls_url":"https://api.github.com/repos/NuGet/NuGetGallery/pulls{/number}","milestones_url":"https://api.github.com/repos/NuGet/NuGetGallery/milestones{/number}","notifications_url":"https://api.github.com/repos/NuGet/NuGetGallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/labels{/name}","releases_url":"https://api.github.com/repos/NuGet/NuGetGallery/releases{/id}","deployments_url":"https://api.github.com/repos/NuGet/NuGetGallery/deployments","created_at":"2011-08-09T17:57:32Z","updated_at":"2018-10-03T10:00:51Z","pushed_at":"2018-10-03T10:36:27Z","git_url":"git://github.com/NuGet/NuGetGallery.git","ssh_url":"git@github.com:NuGet/NuGetGallery.git","clone_url":"https://github.com/NuGet/NuGetGallery.git","svn_url":"https://github.com/NuGet/NuGetGallery","homepage":"https://www.nuget.org","size":50753,"stargazers_count":1038,"watchers_count":1038,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":558,"mirror_url":null,"archived":false,"open_issues_count":494,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":558,"open_issues":494,"watchers":1038,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505"},"html":{"href":"https://github.com/NuGet/NuGetGallery/pull/6505"},"issue":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/issues/6505"},"comments":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/issues/6505/comments"},"review_comments":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505/comments"},"review_comment":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/pulls/6505/commits"},"statuses":{"href":"https://api.github.com/repos/NuGet/NuGetGallery/statuses/1f249c34f8bc9b4039b7f81f84601e372348b89e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"chenriksson"}}