{"action":"created","comment":{"url":"https://api.github.com/repos/blesta/module-digitalocean/pulls/comments/76887755","id":76887755,"diff_hunk":"@@ -50,12 +50,13 @@ private function makeGetConnection($action) {\n         $ch = curl_init();\n         curl_setopt($ch, CURLOPT_HTTPHEADER, array(\n             'Content-Type: application/json',\n-            'Accept: application/json'\n+            'Accept: application/json',\n+\t\t\t'Authorization: Bearer ' . $this->apiKey\n         ));\n         curl_setopt($ch, CURLOPT_URL, $action);\n         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);\n         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\n-        curl_setopt($ch, CURLOPT_USERPWD, $this->apiKey . ':' . \"\");\n+        //curl_setopt($ch, CURLOPT_USERPWD, $this->apiKey . ':' . \"\");","path":"apis/digitalocean_api.php","position":12,"original_position":12,"commit_id":"5dbe663e6c949cfd00d1e2097b797099417c546e","original_commit_id":"5dbe663e6c949cfd00d1e2097b797099417c546e","user":{"login":"pmphillips","id":3802766,"avatar_url":"https://avatars.githubusercontent.com/u/3802766?v=3","gravatar_id":"","url":"https://api.github.com/users/pmphillips","html_url":"https://github.com/pmphillips","followers_url":"https://api.github.com/users/pmphillips/followers","following_url":"https://api.github.com/users/pmphillips/following{/other_user}","gists_url":"https://api.github.com/users/pmphillips/gists{/gist_id}","starred_url":"https://api.github.com/users/pmphillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmphillips/subscriptions","organizations_url":"https://api.github.com/users/pmphillips/orgs","repos_url":"https://api.github.com/users/pmphillips/repos","events_url":"https://api.github.com/users/pmphillips/events{/privacy}","received_events_url":"https://api.github.com/users/pmphillips/received_events","type":"User","site_admin":false},"body":"Should be removed if not needed, rather than commented out.","created_at":"2016-08-30T21:59:00Z","updated_at":"2016-08-30T21:59:00Z","html_url":"https://github.com/blesta/module-digitalocean/pull/2#discussion_r76887755","pull_request_url":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/blesta/module-digitalocean/pulls/comments/76887755"},"html":{"href":"https://github.com/blesta/module-digitalocean/pull/2#discussion_r76887755"},"pull_request":{"href":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2","id":83330059,"html_url":"https://github.com/blesta/module-digitalocean/pull/2","diff_url":"https://github.com/blesta/module-digitalocean/pull/2.diff","patch_url":"https://github.com/blesta/module-digitalocean/pull/2.patch","issue_url":"https://api.github.com/repos/blesta/module-digitalocean/issues/2","number":2,"state":"open","locked":false,"title":"Hello Paul Fixed The Module","user":{"login":"timnboys","id":240655,"avatar_url":"https://avatars.githubusercontent.com/u/240655?v=3","gravatar_id":"","url":"https://api.github.com/users/timnboys","html_url":"https://github.com/timnboys","followers_url":"https://api.github.com/users/timnboys/followers","following_url":"https://api.github.com/users/timnboys/following{/other_user}","gists_url":"https://api.github.com/users/timnboys/gists{/gist_id}","starred_url":"https://api.github.com/users/timnboys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timnboys/subscriptions","organizations_url":"https://api.github.com/users/timnboys/orgs","repos_url":"https://api.github.com/users/timnboys/repos","events_url":"https://api.github.com/users/timnboys/events{/privacy}","received_events_url":"https://api.github.com/users/timnboys/received_events","type":"User","site_admin":false},"body":"Hello Paul Fixed The Module\r\n","created_at":"2016-08-30T19:16:09Z","updated_at":"2016-08-30T21:59:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9b5d09a53b71965c4dfde377d7819863756d754","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2/commits","review_comments_url":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2/comments","review_comment_url":"https://api.github.com/repos/blesta/module-digitalocean/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blesta/module-digitalocean/issues/2/comments","statuses_url":"https://api.github.com/repos/blesta/module-digitalocean/statuses/5dbe663e6c949cfd00d1e2097b797099417c546e","head":{"label":"timnboys:master","ref":"master","sha":"5dbe663e6c949cfd00d1e2097b797099417c546e","user":{"login":"timnboys","id":240655,"avatar_url":"https://avatars.githubusercontent.com/u/240655?v=3","gravatar_id":"","url":"https://api.github.com/users/timnboys","html_url":"https://github.com/timnboys","followers_url":"https://api.github.com/users/timnboys/followers","following_url":"https://api.github.com/users/timnboys/following{/other_user}","gists_url":"https://api.github.com/users/timnboys/gists{/gist_id}","starred_url":"https://api.github.com/users/timnboys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timnboys/subscriptions","organizations_url":"https://api.github.com/users/timnboys/orgs","repos_url":"https://api.github.com/users/timnboys/repos","events_url":"https://api.github.com/users/timnboys/events{/privacy}","received_events_url":"https://api.github.com/users/timnboys/received_events","type":"User","site_admin":false},"repo":{"id":61151783,"name":"module-digitalocean","full_name":"timnboys/module-digitalocean","owner":{"login":"timnboys","id":240655,"avatar_url":"https://avatars.githubusercontent.com/u/240655?v=3","gravatar_id":"","url":"https://api.github.com/users/timnboys","html_url":"https://github.com/timnboys","followers_url":"https://api.github.com/users/timnboys/followers","following_url":"https://api.github.com/users/timnboys/following{/other_user}","gists_url":"https://api.github.com/users/timnboys/gists{/gist_id}","starred_url":"https://api.github.com/users/timnboys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timnboys/subscriptions","organizations_url":"https://api.github.com/users/timnboys/orgs","repos_url":"https://api.github.com/users/timnboys/repos","events_url":"https://api.github.com/users/timnboys/events{/privacy}","received_events_url":"https://api.github.com/users/timnboys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timnboys/module-digitalocean","description":"Digital Ocean Module","fork":true,"url":"https://api.github.com/repos/timnboys/module-digitalocean","forks_url":"https://api.github.com/repos/timnboys/module-digitalocean/forks","keys_url":"https://api.github.com/repos/timnboys/module-digitalocean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timnboys/module-digitalocean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timnboys/module-digitalocean/teams","hooks_url":"https://api.github.com/repos/timnboys/module-digitalocean/hooks","issue_events_url":"https://api.github.com/repos/timnboys/module-digitalocean/issues/events{/number}","events_url":"https://api.github.com/repos/timnboys/module-digitalocean/events","assignees_url":"https://api.github.com/repos/timnboys/module-digitalocean/assignees{/user}","branches_url":"https://api.github.com/repos/timnboys/module-digitalocean/branches{/branch}","tags_url":"https://api.github.com/repos/timnboys/module-digitalocean/tags","blobs_url":"https://api.github.com/repos/timnboys/module-digitalocean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timnboys/module-digitalocean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timnboys/module-digitalocean/git/refs{/sha}","trees_url":"https://api.github.com/repos/timnboys/module-digitalocean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timnboys/module-digitalocean/statuses/{sha}","languages_url":"https://api.github.com/repos/timnboys/module-digitalocean/languages","stargazers_url":"https://api.github.com/repos/timnboys/module-digitalocean/stargazers","contributors_url":"https://api.github.com/repos/timnboys/module-digitalocean/contributors","subscribers_url":"https://api.github.com/repos/timnboys/module-digitalocean/subscribers","subscription_url":"https://api.github.com/repos/timnboys/module-digitalocean/subscription","commits_url":"https://api.github.com/repos/timnboys/module-digitalocean/commits{/sha}","git_commits_url":"https://api.github.com/repos/timnboys/module-digitalocean/git/commits{/sha}","comments_url":"https://api.github.com/repos/timnboys/module-digitalocean/comments{/number}","issue_comment_url":"https://api.github.com/repos/timnboys/module-digitalocean/issues/comments{/number}","contents_url":"https://api.github.com/repos/timnboys/module-digitalocean/contents/{+path}","compare_url":"https://api.github.com/repos/timnboys/module-digitalocean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timnboys/module-digitalocean/merges","archive_url":"https://api.github.com/repos/timnboys/module-digitalocean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timnboys/module-digitalocean/downloads","issues_url":"https://api.github.com/repos/timnboys/module-digitalocean/issues{/number}","pulls_url":"https://api.github.com/repos/timnboys/module-digitalocean/pulls{/number}","milestones_url":"https://api.github.com/repos/timnboys/module-digitalocean/milestones{/number}","notifications_url":"https://api.github.com/repos/timnboys/module-digitalocean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timnboys/module-digitalocean/labels{/name}","releases_url":"https://api.github.com/repos/timnboys/module-digitalocean/releases{/id}","deployments_url":"https://api.github.com/repos/timnboys/module-digitalocean/deployments","created_at":"2016-06-14T19:57:04Z","updated_at":"2016-06-14T19:57:04Z","pushed_at":"2016-08-30T19:14:44Z","git_url":"git://github.com/timnboys/module-digitalocean.git","ssh_url":"git@github.com:timnboys/module-digitalocean.git","clone_url":"https://github.com/timnboys/module-digitalocean.git","svn_url":"https://github.com/timnboys/module-digitalocean","homepage":"","size":22,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"blesta:master","ref":"master","sha":"dd2e6ad7e50f639db604014d60670488b308c6fd","user":{"login":"blesta","id":7647423,"avatar_url":"https://avatars.githubusercontent.com/u/7647423?v=3","gravatar_id":"","url":"https://api.github.com/users/blesta","html_url":"https://github.com/blesta","followers_url":"https://api.github.com/users/blesta/followers","following_url":"https://api.github.com/users/blesta/following{/other_user}","gists_url":"https://api.github.com/users/blesta/gists{/gist_id}","starred_url":"https://api.github.com/users/blesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesta/subscriptions","organizations_url":"https://api.github.com/users/blesta/orgs","repos_url":"https://api.github.com/users/blesta/repos","events_url":"https://api.github.com/users/blesta/events{/privacy}","received_events_url":"https://api.github.com/users/blesta/received_events","type":"Organization","site_admin":false},"repo":{"id":44191955,"name":"module-digitalocean","full_name":"blesta/module-digitalocean","owner":{"login":"blesta","id":7647423,"avatar_url":"https://avatars.githubusercontent.com/u/7647423?v=3","gravatar_id":"","url":"https://api.github.com/users/blesta","html_url":"https://github.com/blesta","followers_url":"https://api.github.com/users/blesta/followers","following_url":"https://api.github.com/users/blesta/following{/other_user}","gists_url":"https://api.github.com/users/blesta/gists{/gist_id}","starred_url":"https://api.github.com/users/blesta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesta/subscriptions","organizations_url":"https://api.github.com/users/blesta/orgs","repos_url":"https://api.github.com/users/blesta/repos","events_url":"https://api.github.com/users/blesta/events{/privacy}","received_events_url":"https://api.github.com/users/blesta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blesta/module-digitalocean","description":"Digital Ocean Module","fork":false,"url":"https://api.github.com/repos/blesta/module-digitalocean","forks_url":"https://api.github.com/repos/blesta/module-digitalocean/forks","keys_url":"https://api.github.com/repos/blesta/module-digitalocean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blesta/module-digitalocean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blesta/module-digitalocean/teams","hooks_url":"https://api.github.com/repos/blesta/module-digitalocean/hooks","issue_events_url":"https://api.github.com/repos/blesta/module-digitalocean/issues/events{/number}","events_url":"https://api.github.com/repos/blesta/module-digitalocean/events","assignees_url":"https://api.github.com/repos/blesta/module-digitalocean/assignees{/user}","branches_url":"https://api.github.com/repos/blesta/module-digitalocean/branches{/branch}","tags_url":"https://api.github.com/repos/blesta/module-digitalocean/tags","blobs_url":"https://api.github.com/repos/blesta/module-digitalocean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blesta/module-digitalocean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blesta/module-digitalocean/git/refs{/sha}","trees_url":"https://api.github.com/repos/blesta/module-digitalocean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blesta/module-digitalocean/statuses/{sha}","languages_url":"https://api.github.com/repos/blesta/module-digitalocean/languages","stargazers_url":"https://api.github.com/repos/blesta/module-digitalocean/stargazers","contributors_url":"https://api.github.com/repos/blesta/module-digitalocean/contributors","subscribers_url":"https://api.github.com/repos/blesta/module-digitalocean/subscribers","subscription_url":"https://api.github.com/repos/blesta/module-digitalocean/subscription","commits_url":"https://api.github.com/repos/blesta/module-digitalocean/commits{/sha}","git_commits_url":"https://api.github.com/repos/blesta/module-digitalocean/git/commits{/sha}","comments_url":"https://api.github.com/repos/blesta/module-digitalocean/comments{/number}","issue_comment_url":"https://api.github.com/repos/blesta/module-digitalocean/issues/comments{/number}","contents_url":"https://api.github.com/repos/blesta/module-digitalocean/contents/{+path}","compare_url":"https://api.github.com/repos/blesta/module-digitalocean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blesta/module-digitalocean/merges","archive_url":"https://api.github.com/repos/blesta/module-digitalocean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blesta/module-digitalocean/downloads","issues_url":"https://api.github.com/repos/blesta/module-digitalocean/issues{/number}","pulls_url":"https://api.github.com/repos/blesta/module-digitalocean/pulls{/number}","milestones_url":"https://api.github.com/repos/blesta/module-digitalocean/milestones{/number}","notifications_url":"https://api.github.com/repos/blesta/module-digitalocean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blesta/module-digitalocean/labels{/name}","releases_url":"https://api.github.com/repos/blesta/module-digitalocean/releases{/id}","deployments_url":"https://api.github.com/repos/blesta/module-digitalocean/deployments","created_at":"2015-10-13T17:08:26Z","updated_at":"2016-08-13T05:54:28Z","pushed_at":"2016-08-30T19:16:09Z","git_url":"git://github.com/blesta/module-digitalocean.git","ssh_url":"git@github.com:blesta/module-digitalocean.git","clone_url":"https://github.com/blesta/module-digitalocean.git","svn_url":"https://github.com/blesta/module-digitalocean","homepage":"","size":132,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2"},"html":{"href":"https://github.com/blesta/module-digitalocean/pull/2"},"issue":{"href":"https://api.github.com/repos/blesta/module-digitalocean/issues/2"},"comments":{"href":"https://api.github.com/repos/blesta/module-digitalocean/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/blesta/module-digitalocean/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blesta/module-digitalocean/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/blesta/module-digitalocean/statuses/5dbe663e6c949cfd00d1e2097b797099417c546e"}}}}
{"actor":{"display_login":"pmphillips"}}