{"action":"created","comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments/209469806","pull_request_review_id":145488869,"id":209469806,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTQ2OTgwNg==","diff_hunk":"@@ -0,0 +1,69 @@\n+import Future from 'fibers/future';\n+import Webdav from 'webdav';\n+import stream from 'stream';\n+\n+Meteor.methods({\n+\tasync uploadFileToWebdav(accountId, fileData, name) {\n+\t\tconst uploadFolder = 'Rocket.Chat Uploads/';\n+\t\tif (!Meteor.userId()) {\n+\t\t\tthrow new Meteor.Error('error-invalid-user', 'Invalid User', {method: 'uploadFileToWebdav'});\n+\t\t}\n+\t\tif (!RocketChat.settings.get('Webdav_Integration_Allowed')) {\n+\t\t\tthrow new Meteor.Error('error-not-allowed', 'WebDAV Integration Not Allowed', {method: 'uploadFileToWebdav'});\n+\t\t}\n+\n+\t\tconst account = RocketChat.models.WebdavAccounts.findOne({ _id: accountId });\n+\t\tif (!account) {\n+\t\t\tthrow new Meteor.Error('error-invalid-webdav-account', 'Invalid WebDAV Account', {method: 'uploadFileToWebdav'});\n+\t\t}\n+\t\tconst client = new Webdav(\n+\t\t\taccount.server_url,\n+\t\t\taccount.username,\n+\t\t\taccount.password\n+\t\t);\n+\t\tconst future = new Future();\n+\t\tawait client.stat(uploadFolder).then(function () {\n+\t\t\tlet bufferStream = new stream.PassThrough();\n+\t\t\tif (fileData) {\n+\t\t\t\tbufferStream.end(fileData);\n+\t\t\t} else {\n+\t\t\t\tbufferStream = null;\n+\t\t\t}\n+\t\t\tconst writeStream = client.createWriteStream(`${ uploadFolder }/${ name }`);\n+\n+\t\t\twriteStream.on('end', function() {\n+\t\t\t\tfuture['return']({success: true});\n+\t\t\t});\n+\t\t\twriteStream.on('error', function() {\n+\t\t\t\tfuture['return']({success: false, message: 'webdav-upload-error'});\n+\t\t\t});\n+\n+\t\t\tbufferStream.pipe(writeStream);\n+\t\t}).catch(function(err) {\n+\t\t\tif (err.status === 404) {\n+\t\t\t\tclient.createDirectory(uploadFolder).then(function () {","path":"packages/rocketchat-webdav/server/methods/uploadFileToWebdav.js","position":44,"original_position":44,"commit_id":"01a6fd4a6f35a672c8e3117b98f6dd80b70e979b","original_commit_id":"01a6fd4a6f35a672c8e3117b98f6dd80b70e979b","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Unexpected space before function parentheses. (space-before-function-paren)](https://app.codacy.com/app/RocketChat/Rocket-Chat/pullRequest?prid=1999957)","created_at":"2018-08-12T22:28:30Z","updated_at":"2018-08-12T22:28:30Z","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/11679#discussion_r209469806","pull_request_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments/209469806"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/11679#discussion_r209469806"},"pull_request":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679"}}},"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679","id":206255370,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MjU1Mzcw","html_url":"https://github.com/RocketChat/Rocket.Chat/pull/11679","diff_url":"https://github.com/RocketChat/Rocket.Chat/pull/11679.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat/pull/11679.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11679","number":11679,"state":"open","locked":false,"title":"[NEW] WebDAV Integration (User file provider)","user":{"login":"karakayasemi","id":14157973,"node_id":"MDQ6VXNlcjE0MTU3OTcz","avatar_url":"https://avatars2.githubusercontent.com/u/14157973?v=4","gravatar_id":"","url":"https://api.github.com/users/karakayasemi","html_url":"https://github.com/karakayasemi","followers_url":"https://api.github.com/users/karakayasemi/followers","following_url":"https://api.github.com/users/karakayasemi/following{/other_user}","gists_url":"https://api.github.com/users/karakayasemi/gists{/gist_id}","starred_url":"https://api.github.com/users/karakayasemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karakayasemi/subscriptions","organizations_url":"https://api.github.com/users/karakayasemi/orgs","repos_url":"https://api.github.com/users/karakayasemi/repos","events_url":"https://api.github.com/users/karakayasemi/events{/privacy}","received_events_url":"https://api.github.com/users/karakayasemi/received_events","type":"User","site_admin":false},"body":"This PR allow users to upload a file from their WebDAV server instance to a rocketchat channel.  \r\n\r\nCloses #7791 , #9745 \r\n\r\nThings to do:\r\n- [ ] write documentation\r\n\r\n<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->\r\n\r\nI used ownCloud and Nextcloud as test webdav servers. For testing you can use https://demo.owncloud.org with following account informations:\r\nserver url: https://demo.owncloud.org/remote.php/webdav\r\nusername: demo\r\npassword:demo\r\n\r\nTo easy test the features, add new server from here with given credentials:\r\n![image](https://user-images.githubusercontent.com/14157973/43689452-9d0cebb6-9903-11e8-83da-40a9703885f8.png)\r\n\r\nFile picker screen:\r\n![image](https://user-images.githubusercontent.com/14157973/43689478-f952e128-9903-11e8-9ccc-932554444432.png)\r\n\r\nTo remove webdav accounts, Integrations section is added to my account page.\r\n![image](https://user-images.githubusercontent.com/14157973/43689494-376e785a-9904-11e8-931d-5cbf94b08b5e.png)\r\n\r\n\r\n\r\n\r\n","created_at":"2018-08-05T20:07:29Z","updated_at":"2018-08-12T22:28:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":253860229,"node_id":"MDU6TGFiZWwyNTM4NjAyMjk=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/subj:%20ui/ux","name":"subj: ui/ux","color":"5319e7","default":false}],"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/124","html_url":"https://github.com/RocketChat/Rocket.Chat/milestone/124","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/124/labels","id":3525389,"node_id":"MDk6TWlsZXN0b25lMzUyNTM4OQ==","number":124,"title":"0.69.0","description":"","creator":{"login":"rodrigok","id":234261,"node_id":"MDQ6VXNlcjIzNDI2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/234261?v=4","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"open_issues":65,"closed_issues":8,"state":"open","created_at":"2018-07-26T13:42:50Z","updated_at":"2018-08-11T04:12:31Z","due_on":"2018-08-27T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11679/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/01a6fd4a6f35a672c8e3117b98f6dd80b70e979b","head":{"label":"karakayasemi:integrate-webdav","ref":"integrate-webdav","sha":"01a6fd4a6f35a672c8e3117b98f6dd80b70e979b","user":{"login":"karakayasemi","id":14157973,"node_id":"MDQ6VXNlcjE0MTU3OTcz","avatar_url":"https://avatars2.githubusercontent.com/u/14157973?v=4","gravatar_id":"","url":"https://api.github.com/users/karakayasemi","html_url":"https://github.com/karakayasemi","followers_url":"https://api.github.com/users/karakayasemi/followers","following_url":"https://api.github.com/users/karakayasemi/following{/other_user}","gists_url":"https://api.github.com/users/karakayasemi/gists{/gist_id}","starred_url":"https://api.github.com/users/karakayasemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karakayasemi/subscriptions","organizations_url":"https://api.github.com/users/karakayasemi/orgs","repos_url":"https://api.github.com/users/karakayasemi/repos","events_url":"https://api.github.com/users/karakayasemi/events{/privacy}","received_events_url":"https://api.github.com/users/karakayasemi/received_events","type":"User","site_admin":false},"repo":{"id":137934695,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5MzQ2OTU=","name":"Rocket.Chat","full_name":"karakayasemi/Rocket.Chat","owner":{"login":"karakayasemi","id":14157973,"node_id":"MDQ6VXNlcjE0MTU3OTcz","avatar_url":"https://avatars2.githubusercontent.com/u/14157973?v=4","gravatar_id":"","url":"https://api.github.com/users/karakayasemi","html_url":"https://github.com/karakayasemi","followers_url":"https://api.github.com/users/karakayasemi/followers","following_url":"https://api.github.com/users/karakayasemi/following{/other_user}","gists_url":"https://api.github.com/users/karakayasemi/gists{/gist_id}","starred_url":"https://api.github.com/users/karakayasemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karakayasemi/subscriptions","organizations_url":"https://api.github.com/users/karakayasemi/orgs","repos_url":"https://api.github.com/users/karakayasemi/repos","events_url":"https://api.github.com/users/karakayasemi/events{/privacy}","received_events_url":"https://api.github.com/users/karakayasemi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karakayasemi/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":true,"url":"https://api.github.com/repos/karakayasemi/Rocket.Chat","forks_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/karakayasemi/Rocket.Chat/deployments","created_at":"2018-06-19T19:14:12Z","updated_at":"2018-06-19T19:14:19Z","pushed_at":"2018-08-12T22:24:34Z","git_url":"git://github.com/karakayasemi/Rocket.Chat.git","ssh_url":"git@github.com:karakayasemi/Rocket.Chat.git","clone_url":"https://github.com/karakayasemi/Rocket.Chat.git","svn_url":"https://github.com/karakayasemi/Rocket.Chat","homepage":"https://rocket.chat/","size":73822,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":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":"develop"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"2dc012accd14d7bade207e5b576900f83211d364","user":{"login":"RocketChat","id":12508788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTA4Nzg4","avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":35866694,"node_id":"MDEwOlJlcG9zaXRvcnkzNTg2NjY5NA==","name":"Rocket.Chat","full_name":"RocketChat/Rocket.Chat","owner":{"login":"RocketChat","id":12508788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTA4Nzg4","avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat","description":"Have your own Slack like online chat, built with Meteor.","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/deployments","created_at":"2015-05-19T07:36:09Z","updated_at":"2018-08-12T22:03:49Z","pushed_at":"2018-08-12T22:24:41Z","git_url":"git://github.com/RocketChat/Rocket.Chat.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.git","svn_url":"https://github.com/RocketChat/Rocket.Chat","homepage":"https://rocket.chat/","size":76161,"stargazers_count":19361,"watchers_count":19361,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4103,"mirror_url":null,"archived":false,"open_issues_count":2091,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4103,"open_issues":2091,"watchers":19361,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat/pull/11679"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11679"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11679/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/pulls/11679/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat/statuses/01a6fd4a6f35a672c8e3117b98f6dd80b70e979b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}