{"action":"created","comment":{"url":"https://api.github.com/repos/matterpoll/matterpoll/pulls/comments/223187455","pull_request_review_id":162262932,"id":223187455,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzE4NzQ1NQ==","diff_hunk":"@@ -1,31 +1,70 @@\n package main\n \n-import \"errors\"\n+import (\n+\t\"github.com/pkg/errors\"\n+)\n \n+// Config captures the plugin's external configuration as exposed in the Mattermost server\n+// configuration, as well as values computed from the configuration. Any public fields will be\n+// deserialized from the Mattermost server configuration in OnConfigurationChange.\n type Config struct {\n \tTrigger string\n }\n \n+// OnConfigurationChange loads the plugin configuration, validates it and saves it.\n func (p *MatterpollPlugin) OnConfigurationChange() error {\n-\tc := &Config{}\n-\tif err := p.API.LoadPluginConfiguration(c); err != nil {\n-\t\treturn err\n+\tconfig := new(Config)\n+\n+\tif err := p.API.LoadPluginConfiguration(config); err != nil {\n+\t\treturn errors.Wrap(err, \"failed to load plugin configuration\")\n \t}\n \n-\tif c.Trigger == \"\" {\n+\tif config.Trigger == \"\" {\n \t\treturn errors.New(\"Empty trigger not allowed\")\n \t}\n \n \tif p.Config != nil {\n \t\tif err := p.API.UnregisterCommand(\"\", p.Config.Trigger); err != nil {\n-\t\t\treturn err\n+\t\t\treturn errors.Wrap(err, \"failed to unregister old command\")\n \t\t}\n \t}\n-\tif err := p.API.RegisterCommand(getCommand(c.Trigger)); err != nil {\n-\t\treturn err\n+\tif err := p.API.RegisterCommand(getCommand(config.Trigger)); err != nil {\n+\t\treturn errors.Wrap(err, \"failed to register new command\")\n \t}\n \n \tp.ServerConfig = p.API.GetConfig()\n-\tp.Config = c\n+\tp.setConfiguration(config)\n \treturn nil\n }\n+\n+// getConfiguration retrieves the active configuration under lock, making it safe to use\n+// concurrently. The active configuration may change underneath the client of this method, but\n+// the struct returned by this API call is considered immutable.\n+func (p *MatterpollPlugin) getConfiguration() *Config {\n+\tp.configurationLock.RLock()\n+\tdefer p.configurationLock.RUnlock()","path":"server/configuration.go","position":54,"original_position":54,"commit_id":"c534aff1fde1972e943db21e235ad784750fd3e9","original_commit_id":"c534aff1fde1972e943db21e235ad784750fd3e9","user":{"login":"kaakaa","id":1453749,"node_id":"MDQ6VXNlcjE0NTM3NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1453749?v=4","gravatar_id":"","url":"https://api.github.com/users/kaakaa","html_url":"https://github.com/kaakaa","followers_url":"https://api.github.com/users/kaakaa/followers","following_url":"https://api.github.com/users/kaakaa/following{/other_user}","gists_url":"https://api.github.com/users/kaakaa/gists{/gist_id}","starred_url":"https://api.github.com/users/kaakaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaakaa/subscriptions","organizations_url":"https://api.github.com/users/kaakaa/orgs","repos_url":"https://api.github.com/users/kaakaa/repos","events_url":"https://api.github.com/users/kaakaa/events{/privacy}","received_events_url":"https://api.github.com/users/kaakaa/received_events","type":"User","site_admin":false},"body":"Sorry, I don't know too much about mutex, so I don't understand what does this lock improve.\r\n\r\nIf calling RUnlock here, RLock is immediately unlocked in the end of this method.\r\nSo I think that we can update config value at any time regardless of this changes.\r\n\r\n```\r\nconfig := p.getConfiguration()\r\nconfig.Trigger = \"dummy\"\r\n```\r\n\r\nIs this PR intended to prevent config values from being changed during evaluating simple if statement and return statement? \r\n","created_at":"2018-10-06T16:44:27Z","updated_at":"2018-10-06T16:44:27Z","html_url":"https://github.com/matterpoll/matterpoll/pull/81#discussion_r223187455","pull_request_url":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/matterpoll/matterpoll/pulls/comments/223187455"},"html":{"href":"https://github.com/matterpoll/matterpoll/pull/81#discussion_r223187455"},"pull_request":{"href":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81","id":220391349,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMzkxMzQ5","html_url":"https://github.com/matterpoll/matterpoll/pull/81","diff_url":"https://github.com/matterpoll/matterpoll/pull/81.diff","patch_url":"https://github.com/matterpoll/matterpoll/pull/81.patch","issue_url":"https://api.github.com/repos/matterpoll/matterpoll/issues/81","number":81,"state":"open","locked":false,"title":"Sync read and write to config","user":{"login":"hanzei","id":16541325,"node_id":"MDQ6VXNlcjE2NTQxMzI1","avatar_url":"https://avatars0.githubusercontent.com/u/16541325?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzei","html_url":"https://github.com/hanzei","followers_url":"https://api.github.com/users/hanzei/followers","following_url":"https://api.github.com/users/hanzei/following{/other_user}","gists_url":"https://api.github.com/users/hanzei/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzei/subscriptions","organizations_url":"https://api.github.com/users/hanzei/orgs","repos_url":"https://api.github.com/users/hanzei/repos","events_url":"https://api.github.com/users/hanzei/events{/privacy}","received_events_url":"https://api.github.com/users/hanzei/received_events","type":"User","site_admin":false},"body":"Since plugin methods are called asynchrony `Config` could be changed any time. This PR fixes this by using a lock. It is pretty much a downstream of https://github.com/mattermost/mattermost-plugin-demo/pull/7.\r\n\r\nThe second commit fixes come linter issues. Some day I will learn to submit separate PRs for this. Sorry @kaakaa.","created_at":"2018-10-04T14:07:45Z","updated_at":"2018-10-06T16:44:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b6d36850470eef92bfd5c555502ef63feafb53f","assignee":{"login":"hanzei","id":16541325,"node_id":"MDQ6VXNlcjE2NTQxMzI1","avatar_url":"https://avatars0.githubusercontent.com/u/16541325?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzei","html_url":"https://github.com/hanzei","followers_url":"https://api.github.com/users/hanzei/followers","following_url":"https://api.github.com/users/hanzei/following{/other_user}","gists_url":"https://api.github.com/users/hanzei/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzei/subscriptions","organizations_url":"https://api.github.com/users/hanzei/orgs","repos_url":"https://api.github.com/users/hanzei/repos","events_url":"https://api.github.com/users/hanzei/events{/privacy}","received_events_url":"https://api.github.com/users/hanzei/received_events","type":"User","site_admin":false},"assignees":[{"login":"hanzei","id":16541325,"node_id":"MDQ6VXNlcjE2NTQxMzI1","avatar_url":"https://avatars0.githubusercontent.com/u/16541325?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzei","html_url":"https://github.com/hanzei","followers_url":"https://api.github.com/users/hanzei/followers","following_url":"https://api.github.com/users/hanzei/following{/other_user}","gists_url":"https://api.github.com/users/hanzei/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzei/subscriptions","organizations_url":"https://api.github.com/users/hanzei/orgs","repos_url":"https://api.github.com/users/hanzei/repos","events_url":"https://api.github.com/users/hanzei/events{/privacy}","received_events_url":"https://api.github.com/users/hanzei/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":801575800,"node_id":"MDU6TGFiZWw4MDE1NzU4MDA=","url":"https://api.github.com/repos/matterpoll/matterpoll/labels/3.%20to%20review","name":"3. to review","color":"0052cc","default":false},{"id":799700564,"node_id":"MDU6TGFiZWw3OTk3MDA1NjQ=","url":"https://api.github.com/repos/matterpoll/matterpoll/labels/bug","name":"bug","color":"ee0701","default":true}],"milestone":{"url":"https://api.github.com/repos/matterpoll/matterpoll/milestones/5","html_url":"https://github.com/matterpoll/matterpoll/milestone/5","labels_url":"https://api.github.com/repos/matterpoll/matterpoll/milestones/5/labels","id":3620080,"node_id":"MDk6TWlsZXN0b25lMzYyMDA4MA==","number":5,"title":"v0.2.0","description":null,"creator":{"login":"hanzei","id":16541325,"node_id":"MDQ6VXNlcjE2NTQxMzI1","avatar_url":"https://avatars0.githubusercontent.com/u/16541325?v=4","gravatar_id":"","url":"https://api.github.com/users/hanzei","html_url":"https://github.com/hanzei","followers_url":"https://api.github.com/users/hanzei/followers","following_url":"https://api.github.com/users/hanzei/following{/other_user}","gists_url":"https://api.github.com/users/hanzei/gists{/gist_id}","starred_url":"https://api.github.com/users/hanzei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanzei/subscriptions","organizations_url":"https://api.github.com/users/hanzei/orgs","repos_url":"https://api.github.com/users/hanzei/repos","events_url":"https://api.github.com/users/hanzei/events{/privacy}","received_events_url":"https://api.github.com/users/hanzei/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":15,"state":"open","created_at":"2018-09-04T11:45:18Z","updated_at":"2018-10-04T14:43:05Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81/commits","review_comments_url":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81/comments","review_comment_url":"https://api.github.com/repos/matterpoll/matterpoll/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matterpoll/matterpoll/issues/81/comments","statuses_url":"https://api.github.com/repos/matterpoll/matterpoll/statuses/c534aff1fde1972e943db21e235ad784750fd3e9","head":{"label":"matterpoll:sync_config","ref":"sync_config","sha":"c534aff1fde1972e943db21e235ad784750fd3e9","user":{"login":"matterpoll","id":35271947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MjcxOTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/35271947?v=4","gravatar_id":"","url":"https://api.github.com/users/matterpoll","html_url":"https://github.com/matterpoll","followers_url":"https://api.github.com/users/matterpoll/followers","following_url":"https://api.github.com/users/matterpoll/following{/other_user}","gists_url":"https://api.github.com/users/matterpoll/gists{/gist_id}","starred_url":"https://api.github.com/users/matterpoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matterpoll/subscriptions","organizations_url":"https://api.github.com/users/matterpoll/orgs","repos_url":"https://api.github.com/users/matterpoll/repos","events_url":"https://api.github.com/users/matterpoll/events{/privacy}","received_events_url":"https://api.github.com/users/matterpoll/received_events","type":"Organization","site_admin":false},"repo":{"id":116854535,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4NTQ1MzU=","name":"matterpoll","full_name":"matterpoll/matterpoll","private":false,"owner":{"login":"matterpoll","id":35271947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MjcxOTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/35271947?v=4","gravatar_id":"","url":"https://api.github.com/users/matterpoll","html_url":"https://github.com/matterpoll","followers_url":"https://api.github.com/users/matterpoll/followers","following_url":"https://api.github.com/users/matterpoll/following{/other_user}","gists_url":"https://api.github.com/users/matterpoll/gists{/gist_id}","starred_url":"https://api.github.com/users/matterpoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matterpoll/subscriptions","organizations_url":"https://api.github.com/users/matterpoll/orgs","repos_url":"https://api.github.com/users/matterpoll/repos","events_url":"https://api.github.com/users/matterpoll/events{/privacy}","received_events_url":"https://api.github.com/users/matterpoll/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/matterpoll/matterpoll","description":"Poll command for Mattermost","fork":false,"url":"https://api.github.com/repos/matterpoll/matterpoll","forks_url":"https://api.github.com/repos/matterpoll/matterpoll/forks","keys_url":"https://api.github.com/repos/matterpoll/matterpoll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matterpoll/matterpoll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matterpoll/matterpoll/teams","hooks_url":"https://api.github.com/repos/matterpoll/matterpoll/hooks","issue_events_url":"https://api.github.com/repos/matterpoll/matterpoll/issues/events{/number}","events_url":"https://api.github.com/repos/matterpoll/matterpoll/events","assignees_url":"https://api.github.com/repos/matterpoll/matterpoll/assignees{/user}","branches_url":"https://api.github.com/repos/matterpoll/matterpoll/branches{/branch}","tags_url":"https://api.github.com/repos/matterpoll/matterpoll/tags","blobs_url":"https://api.github.com/repos/matterpoll/matterpoll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matterpoll/matterpoll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matterpoll/matterpoll/git/refs{/sha}","trees_url":"https://api.github.com/repos/matterpoll/matterpoll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matterpoll/matterpoll/statuses/{sha}","languages_url":"https://api.github.com/repos/matterpoll/matterpoll/languages","stargazers_url":"https://api.github.com/repos/matterpoll/matterpoll/stargazers","contributors_url":"https://api.github.com/repos/matterpoll/matterpoll/contributors","subscribers_url":"https://api.github.com/repos/matterpoll/matterpoll/subscribers","subscription_url":"https://api.github.com/repos/matterpoll/matterpoll/subscription","commits_url":"https://api.github.com/repos/matterpoll/matterpoll/commits{/sha}","git_commits_url":"https://api.github.com/repos/matterpoll/matterpoll/git/commits{/sha}","comments_url":"https://api.github.com/repos/matterpoll/matterpoll/comments{/number}","issue_comment_url":"https://api.github.com/repos/matterpoll/matterpoll/issues/comments{/number}","contents_url":"https://api.github.com/repos/matterpoll/matterpoll/contents/{+path}","compare_url":"https://api.github.com/repos/matterpoll/matterpoll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matterpoll/matterpoll/merges","archive_url":"https://api.github.com/repos/matterpoll/matterpoll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matterpoll/matterpoll/downloads","issues_url":"https://api.github.com/repos/matterpoll/matterpoll/issues{/number}","pulls_url":"https://api.github.com/repos/matterpoll/matterpoll/pulls{/number}","milestones_url":"https://api.github.com/repos/matterpoll/matterpoll/milestones{/number}","notifications_url":"https://api.github.com/repos/matterpoll/matterpoll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matterpoll/matterpoll/labels{/name}","releases_url":"https://api.github.com/repos/matterpoll/matterpoll/releases{/id}","deployments_url":"https://api.github.com/repos/matterpoll/matterpoll/deployments","created_at":"2018-01-09T18:29:29Z","updated_at":"2018-10-04T13:53:22Z","pushed_at":"2018-10-04T14:43:06Z","git_url":"git://github.com/matterpoll/matterpoll.git","ssh_url":"git@github.com:matterpoll/matterpoll.git","clone_url":"https://github.com/matterpoll/matterpoll.git","svn_url":"https://github.com/matterpoll/matterpoll","homepage":"","size":4365,"stargazers_count":19,"watchers_count":19,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":9,"watchers":19,"default_branch":"master"}},"base":{"label":"matterpoll:master","ref":"master","sha":"b3ebaf34484edefcf38c61b08e06b8157b904a6d","user":{"login":"matterpoll","id":35271947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MjcxOTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/35271947?v=4","gravatar_id":"","url":"https://api.github.com/users/matterpoll","html_url":"https://github.com/matterpoll","followers_url":"https://api.github.com/users/matterpoll/followers","following_url":"https://api.github.com/users/matterpoll/following{/other_user}","gists_url":"https://api.github.com/users/matterpoll/gists{/gist_id}","starred_url":"https://api.github.com/users/matterpoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matterpoll/subscriptions","organizations_url":"https://api.github.com/users/matterpoll/orgs","repos_url":"https://api.github.com/users/matterpoll/repos","events_url":"https://api.github.com/users/matterpoll/events{/privacy}","received_events_url":"https://api.github.com/users/matterpoll/received_events","type":"Organization","site_admin":false},"repo":{"id":116854535,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY4NTQ1MzU=","name":"matterpoll","full_name":"matterpoll/matterpoll","private":false,"owner":{"login":"matterpoll","id":35271947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1MjcxOTQ3","avatar_url":"https://avatars1.githubusercontent.com/u/35271947?v=4","gravatar_id":"","url":"https://api.github.com/users/matterpoll","html_url":"https://github.com/matterpoll","followers_url":"https://api.github.com/users/matterpoll/followers","following_url":"https://api.github.com/users/matterpoll/following{/other_user}","gists_url":"https://api.github.com/users/matterpoll/gists{/gist_id}","starred_url":"https://api.github.com/users/matterpoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matterpoll/subscriptions","organizations_url":"https://api.github.com/users/matterpoll/orgs","repos_url":"https://api.github.com/users/matterpoll/repos","events_url":"https://api.github.com/users/matterpoll/events{/privacy}","received_events_url":"https://api.github.com/users/matterpoll/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/matterpoll/matterpoll","description":"Poll command for Mattermost","fork":false,"url":"https://api.github.com/repos/matterpoll/matterpoll","forks_url":"https://api.github.com/repos/matterpoll/matterpoll/forks","keys_url":"https://api.github.com/repos/matterpoll/matterpoll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matterpoll/matterpoll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matterpoll/matterpoll/teams","hooks_url":"https://api.github.com/repos/matterpoll/matterpoll/hooks","issue_events_url":"https://api.github.com/repos/matterpoll/matterpoll/issues/events{/number}","events_url":"https://api.github.com/repos/matterpoll/matterpoll/events","assignees_url":"https://api.github.com/repos/matterpoll/matterpoll/assignees{/user}","branches_url":"https://api.github.com/repos/matterpoll/matterpoll/branches{/branch}","tags_url":"https://api.github.com/repos/matterpoll/matterpoll/tags","blobs_url":"https://api.github.com/repos/matterpoll/matterpoll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matterpoll/matterpoll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matterpoll/matterpoll/git/refs{/sha}","trees_url":"https://api.github.com/repos/matterpoll/matterpoll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matterpoll/matterpoll/statuses/{sha}","languages_url":"https://api.github.com/repos/matterpoll/matterpoll/languages","stargazers_url":"https://api.github.com/repos/matterpoll/matterpoll/stargazers","contributors_url":"https://api.github.com/repos/matterpoll/matterpoll/contributors","subscribers_url":"https://api.github.com/repos/matterpoll/matterpoll/subscribers","subscription_url":"https://api.github.com/repos/matterpoll/matterpoll/subscription","commits_url":"https://api.github.com/repos/matterpoll/matterpoll/commits{/sha}","git_commits_url":"https://api.github.com/repos/matterpoll/matterpoll/git/commits{/sha}","comments_url":"https://api.github.com/repos/matterpoll/matterpoll/comments{/number}","issue_comment_url":"https://api.github.com/repos/matterpoll/matterpoll/issues/comments{/number}","contents_url":"https://api.github.com/repos/matterpoll/matterpoll/contents/{+path}","compare_url":"https://api.github.com/repos/matterpoll/matterpoll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matterpoll/matterpoll/merges","archive_url":"https://api.github.com/repos/matterpoll/matterpoll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matterpoll/matterpoll/downloads","issues_url":"https://api.github.com/repos/matterpoll/matterpoll/issues{/number}","pulls_url":"https://api.github.com/repos/matterpoll/matterpoll/pulls{/number}","milestones_url":"https://api.github.com/repos/matterpoll/matterpoll/milestones{/number}","notifications_url":"https://api.github.com/repos/matterpoll/matterpoll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matterpoll/matterpoll/labels{/name}","releases_url":"https://api.github.com/repos/matterpoll/matterpoll/releases{/id}","deployments_url":"https://api.github.com/repos/matterpoll/matterpoll/deployments","created_at":"2018-01-09T18:29:29Z","updated_at":"2018-10-04T13:53:22Z","pushed_at":"2018-10-04T14:43:06Z","git_url":"git://github.com/matterpoll/matterpoll.git","ssh_url":"git@github.com:matterpoll/matterpoll.git","clone_url":"https://github.com/matterpoll/matterpoll.git","svn_url":"https://github.com/matterpoll/matterpoll","homepage":"","size":4365,"stargazers_count":19,"watchers_count":19,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":9,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81"},"html":{"href":"https://github.com/matterpoll/matterpoll/pull/81"},"issue":{"href":"https://api.github.com/repos/matterpoll/matterpoll/issues/81"},"comments":{"href":"https://api.github.com/repos/matterpoll/matterpoll/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/matterpoll/matterpoll/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matterpoll/matterpoll/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/matterpoll/matterpoll/statuses/c534aff1fde1972e943db21e235ad784750fd3e9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kaakaa"}}