{"action":"created","comment":{"url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/comments/45416791","id":45416791,"diff_hunk":"@@ -78,6 +78,7 @@\n     \"randomstring\": \"^1.1.0\",\n     \"rc\": \"~0.5.0\",\n     \"request\": \"^2.51.0\",\n+    \"request-promise\": \"^1.0.2\",","path":"package.json","position":4,"original_position":4,"commit_id":"3c67eca69b9e05e3955f38ca7dc0a3b339d5a52b","original_commit_id":"3c67eca69b9e05e3955f38ca7dc0a3b339d5a52b","user":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"body":"Ok cook. Yeah, that should work. Can you point me to example? I'm pretty new to promises fyi","created_at":"2015-11-19T23:29:14Z","updated_at":"2015-11-19T23:29:14Z","html_url":"https://github.com/Hylozoic/hylo-node/pull/65#discussion_r45416791","pull_request_url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/comments/45416791"},"html":{"href":"https://github.com/Hylozoic/hylo-node/pull/65#discussion_r45416791"},"pull_request":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65","id":51297080,"html_url":"https://github.com/Hylozoic/hylo-node/pull/65","diff_url":"https://github.com/Hylozoic/hylo-node/pull/65.diff","patch_url":"https://github.com/Hylozoic/hylo-node/pull/65.patch","issue_url":"https://api.github.com/repos/Hylozoic/hylo-node/issues/65","number":65,"state":"open","locked":false,"title":"Send notifications of new posts in a community to slack","user":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"body":"Woohoo! This was fun :)\r\n\r\nI'm sure you'll have a few little pointers about things that need to be resolved before it gets merged, let me know what they are!","created_at":"2015-11-19T23:25:00Z","updated_at":"2015-11-19T23:29:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0669e1f75081ca1b8ad87bfa7b0fb61f16c4843","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65/commits","review_comments_url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65/comments","review_comment_url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hylozoic/hylo-node/issues/65/comments","statuses_url":"https://api.github.com/repos/Hylozoic/hylo-node/statuses/3c67eca69b9e05e3955f38ca7dc0a3b339d5a52b","head":{"label":"Connoropolous:add.slack","ref":"add.slack","sha":"3c67eca69b9e05e3955f38ca7dc0a3b339d5a52b","user":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"repo":{"id":46492698,"name":"hylo-node","full_name":"Connoropolous/hylo-node","owner":{"login":"Connoropolous","id":1409121,"avatar_url":"https://avatars.githubusercontent.com/u/1409121?v=3","gravatar_id":"","url":"https://api.github.com/users/Connoropolous","html_url":"https://github.com/Connoropolous","followers_url":"https://api.github.com/users/Connoropolous/followers","following_url":"https://api.github.com/users/Connoropolous/following{/other_user}","gists_url":"https://api.github.com/users/Connoropolous/gists{/gist_id}","starred_url":"https://api.github.com/users/Connoropolous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connoropolous/subscriptions","organizations_url":"https://api.github.com/users/Connoropolous/orgs","repos_url":"https://api.github.com/users/Connoropolous/repos","events_url":"https://api.github.com/users/Connoropolous/events{/privacy}","received_events_url":"https://api.github.com/users/Connoropolous/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Connoropolous/hylo-node","description":"The Hylo API.","fork":true,"url":"https://api.github.com/repos/Connoropolous/hylo-node","forks_url":"https://api.github.com/repos/Connoropolous/hylo-node/forks","keys_url":"https://api.github.com/repos/Connoropolous/hylo-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Connoropolous/hylo-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Connoropolous/hylo-node/teams","hooks_url":"https://api.github.com/repos/Connoropolous/hylo-node/hooks","issue_events_url":"https://api.github.com/repos/Connoropolous/hylo-node/issues/events{/number}","events_url":"https://api.github.com/repos/Connoropolous/hylo-node/events","assignees_url":"https://api.github.com/repos/Connoropolous/hylo-node/assignees{/user}","branches_url":"https://api.github.com/repos/Connoropolous/hylo-node/branches{/branch}","tags_url":"https://api.github.com/repos/Connoropolous/hylo-node/tags","blobs_url":"https://api.github.com/repos/Connoropolous/hylo-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Connoropolous/hylo-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Connoropolous/hylo-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/Connoropolous/hylo-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Connoropolous/hylo-node/statuses/{sha}","languages_url":"https://api.github.com/repos/Connoropolous/hylo-node/languages","stargazers_url":"https://api.github.com/repos/Connoropolous/hylo-node/stargazers","contributors_url":"https://api.github.com/repos/Connoropolous/hylo-node/contributors","subscribers_url":"https://api.github.com/repos/Connoropolous/hylo-node/subscribers","subscription_url":"https://api.github.com/repos/Connoropolous/hylo-node/subscription","commits_url":"https://api.github.com/repos/Connoropolous/hylo-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/Connoropolous/hylo-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/Connoropolous/hylo-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/Connoropolous/hylo-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/Connoropolous/hylo-node/contents/{+path}","compare_url":"https://api.github.com/repos/Connoropolous/hylo-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Connoropolous/hylo-node/merges","archive_url":"https://api.github.com/repos/Connoropolous/hylo-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Connoropolous/hylo-node/downloads","issues_url":"https://api.github.com/repos/Connoropolous/hylo-node/issues{/number}","pulls_url":"https://api.github.com/repos/Connoropolous/hylo-node/pulls{/number}","milestones_url":"https://api.github.com/repos/Connoropolous/hylo-node/milestones{/number}","notifications_url":"https://api.github.com/repos/Connoropolous/hylo-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Connoropolous/hylo-node/labels{/name}","releases_url":"https://api.github.com/repos/Connoropolous/hylo-node/releases{/id}","created_at":"2015-11-19T13:06:27Z","updated_at":"2015-11-19T13:06:29Z","pushed_at":"2015-11-19T23:19:03Z","git_url":"git://github.com/Connoropolous/hylo-node.git","ssh_url":"git@github.com:Connoropolous/hylo-node.git","clone_url":"https://github.com/Connoropolous/hylo-node.git","svn_url":"https://github.com/Connoropolous/hylo-node","homepage":"https://www.hylo.com/","size":1227,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Hylozoic:master","ref":"master","sha":"3c2cdaf31c5e205a91dd34d7e9c8940821ae002d","user":{"login":"Hylozoic","id":2053962,"avatar_url":"https://avatars.githubusercontent.com/u/2053962?v=3","gravatar_id":"","url":"https://api.github.com/users/Hylozoic","html_url":"https://github.com/Hylozoic","followers_url":"https://api.github.com/users/Hylozoic/followers","following_url":"https://api.github.com/users/Hylozoic/following{/other_user}","gists_url":"https://api.github.com/users/Hylozoic/gists{/gist_id}","starred_url":"https://api.github.com/users/Hylozoic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hylozoic/subscriptions","organizations_url":"https://api.github.com/users/Hylozoic/orgs","repos_url":"https://api.github.com/users/Hylozoic/repos","events_url":"https://api.github.com/users/Hylozoic/events{/privacy}","received_events_url":"https://api.github.com/users/Hylozoic/received_events","type":"Organization","site_admin":false},"repo":{"id":25898898,"name":"hylo-node","full_name":"Hylozoic/hylo-node","owner":{"login":"Hylozoic","id":2053962,"avatar_url":"https://avatars.githubusercontent.com/u/2053962?v=3","gravatar_id":"","url":"https://api.github.com/users/Hylozoic","html_url":"https://github.com/Hylozoic","followers_url":"https://api.github.com/users/Hylozoic/followers","following_url":"https://api.github.com/users/Hylozoic/following{/other_user}","gists_url":"https://api.github.com/users/Hylozoic/gists{/gist_id}","starred_url":"https://api.github.com/users/Hylozoic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hylozoic/subscriptions","organizations_url":"https://api.github.com/users/Hylozoic/orgs","repos_url":"https://api.github.com/users/Hylozoic/repos","events_url":"https://api.github.com/users/Hylozoic/events{/privacy}","received_events_url":"https://api.github.com/users/Hylozoic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hylozoic/hylo-node","description":"The Hylo API.","fork":false,"url":"https://api.github.com/repos/Hylozoic/hylo-node","forks_url":"https://api.github.com/repos/Hylozoic/hylo-node/forks","keys_url":"https://api.github.com/repos/Hylozoic/hylo-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hylozoic/hylo-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hylozoic/hylo-node/teams","hooks_url":"https://api.github.com/repos/Hylozoic/hylo-node/hooks","issue_events_url":"https://api.github.com/repos/Hylozoic/hylo-node/issues/events{/number}","events_url":"https://api.github.com/repos/Hylozoic/hylo-node/events","assignees_url":"https://api.github.com/repos/Hylozoic/hylo-node/assignees{/user}","branches_url":"https://api.github.com/repos/Hylozoic/hylo-node/branches{/branch}","tags_url":"https://api.github.com/repos/Hylozoic/hylo-node/tags","blobs_url":"https://api.github.com/repos/Hylozoic/hylo-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hylozoic/hylo-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hylozoic/hylo-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hylozoic/hylo-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hylozoic/hylo-node/statuses/{sha}","languages_url":"https://api.github.com/repos/Hylozoic/hylo-node/languages","stargazers_url":"https://api.github.com/repos/Hylozoic/hylo-node/stargazers","contributors_url":"https://api.github.com/repos/Hylozoic/hylo-node/contributors","subscribers_url":"https://api.github.com/repos/Hylozoic/hylo-node/subscribers","subscription_url":"https://api.github.com/repos/Hylozoic/hylo-node/subscription","commits_url":"https://api.github.com/repos/Hylozoic/hylo-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hylozoic/hylo-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hylozoic/hylo-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hylozoic/hylo-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hylozoic/hylo-node/contents/{+path}","compare_url":"https://api.github.com/repos/Hylozoic/hylo-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hylozoic/hylo-node/merges","archive_url":"https://api.github.com/repos/Hylozoic/hylo-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hylozoic/hylo-node/downloads","issues_url":"https://api.github.com/repos/Hylozoic/hylo-node/issues{/number}","pulls_url":"https://api.github.com/repos/Hylozoic/hylo-node/pulls{/number}","milestones_url":"https://api.github.com/repos/Hylozoic/hylo-node/milestones{/number}","notifications_url":"https://api.github.com/repos/Hylozoic/hylo-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hylozoic/hylo-node/labels{/name}","releases_url":"https://api.github.com/repos/Hylozoic/hylo-node/releases{/id}","created_at":"2014-10-29T01:39:40Z","updated_at":"2015-11-19T18:33:49Z","pushed_at":"2015-11-19T23:25:01Z","git_url":"git://github.com/Hylozoic/hylo-node.git","ssh_url":"git@github.com:Hylozoic/hylo-node.git","clone_url":"https://github.com/Hylozoic/hylo-node.git","svn_url":"https://github.com/Hylozoic/hylo-node","homepage":"https://www.hylo.com/","size":1376,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65"},"html":{"href":"https://github.com/Hylozoic/hylo-node/pull/65"},"issue":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/issues/65"},"comments":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/Hylozoic/hylo-node/statuses/3c67eca69b9e05e3955f38ca7dc0a3b339d5a52b"}}}}