{"action":"created","comment":{"url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/comments/109238065","pull_request_review_id":30332867,"id":109238065,"diff_hunk":"@@ -0,0 +1,23 @@\n+async function tryCallbackOrPromise(promise, callback = null) {\n+  if (isValidCallback(callback)) {\n+    promise.then((data) => {\n+      callback(null, data);\n+    })\n+      .catch(callback);\n+  }\n+  await promise;","path":"src/notifications/util.js","position":8,"original_position":8,"commit_id":"a05820e9db8f7611ae22db5189576f3057be4687","original_commit_id":"a05820e9db8f7611ae22db5189576f3057be4687","user":{"login":"jac1013","id":5025920,"avatar_url":"https://avatars0.githubusercontent.com/u/5025920?v=3","gravatar_id":"","url":"https://api.github.com/users/jac1013","html_url":"https://github.com/jac1013","followers_url":"https://api.github.com/users/jac1013/followers","following_url":"https://api.github.com/users/jac1013/following{/other_user}","gists_url":"https://api.github.com/users/jac1013/gists{/gist_id}","starred_url":"https://api.github.com/users/jac1013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jac1013/subscriptions","organizations_url":"https://api.github.com/users/jac1013/orgs","repos_url":"https://api.github.com/users/jac1013/repos","events_url":"https://api.github.com/users/jac1013/events{/privacy}","received_events_url":"https://api.github.com/users/jac1013/received_events","type":"User","site_admin":false},"body":"I will test this later correctly, right now we can't tests this changes, probably you are right, I'll let you know whenever I test this.","created_at":"2017-03-31T19:54:42Z","updated_at":"2017-03-31T19:54:42Z","html_url":"https://github.com/bixlabs/bix-notifications/pull/19#discussion_r109238065","pull_request_url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/comments/109238065"},"html":{"href":"https://github.com/bixlabs/bix-notifications/pull/19#discussion_r109238065"},"pull_request":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19","id":110230767,"html_url":"https://github.com/bixlabs/bix-notifications/pull/19","diff_url":"https://github.com/bixlabs/bix-notifications/pull/19.diff","patch_url":"https://github.com/bixlabs/bix-notifications/pull/19.patch","issue_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues/19","number":19,"state":"open","locked":false,"title":"added Debug mode to the Module","user":{"login":"jac1013","id":5025920,"avatar_url":"https://avatars0.githubusercontent.com/u/5025920?v=3","gravatar_id":"","url":"https://api.github.com/users/jac1013","html_url":"https://github.com/jac1013","followers_url":"https://api.github.com/users/jac1013/followers","following_url":"https://api.github.com/users/jac1013/following{/other_user}","gists_url":"https://api.github.com/users/jac1013/gists{/gist_id}","starred_url":"https://api.github.com/users/jac1013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jac1013/subscriptions","organizations_url":"https://api.github.com/users/jac1013/orgs","repos_url":"https://api.github.com/users/jac1013/repos","events_url":"https://api.github.com/users/jac1013/events{/privacy}","received_events_url":"https://api.github.com/users/jac1013/received_events","type":"User","site_admin":false},"body":"## Story / Task\r\n\r\nhttps://github.com/bixlabs/bix-notifications/issues/7\r\n\r\n\r\n## What this PR does?\r\n\r\n* It adds Debug mode for the module.\r\n\r\n### Before\r\n\r\n* We didn't have Debug mode.\r\n\r\n### After\r\n\r\n* We have Debug mode now.\r\n\r\n## How to test / reproduce\r\n\r\n* We can't test it yet :(.\r\n\r\n## TODOs\r\n\r\n* At least see that this is working\r\n\r\nThanks.\r\n","created_at":"2017-03-10T23:41:11Z","updated_at":"2017-03-31T19:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a70fd8b70588d44e190c0615ba00243417fccf5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19/commits","review_comments_url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19/comments","review_comment_url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues/19/comments","statuses_url":"https://api.github.com/repos/bixlabs/bix-notifications/statuses/a05820e9db8f7611ae22db5189576f3057be4687","head":{"label":"bixlabs:internal-debug","ref":"internal-debug","sha":"a05820e9db8f7611ae22db5189576f3057be4687","user":{"login":"bixlabs","id":8978396,"avatar_url":"https://avatars2.githubusercontent.com/u/8978396?v=3","gravatar_id":"","url":"https://api.github.com/users/bixlabs","html_url":"https://github.com/bixlabs","followers_url":"https://api.github.com/users/bixlabs/followers","following_url":"https://api.github.com/users/bixlabs/following{/other_user}","gists_url":"https://api.github.com/users/bixlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bixlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bixlabs/subscriptions","organizations_url":"https://api.github.com/users/bixlabs/orgs","repos_url":"https://api.github.com/users/bixlabs/repos","events_url":"https://api.github.com/users/bixlabs/events{/privacy}","received_events_url":"https://api.github.com/users/bixlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":80245747,"name":"bix-notifications","full_name":"bixlabs/bix-notifications","owner":{"login":"bixlabs","id":8978396,"avatar_url":"https://avatars2.githubusercontent.com/u/8978396?v=3","gravatar_id":"","url":"https://api.github.com/users/bixlabs","html_url":"https://github.com/bixlabs","followers_url":"https://api.github.com/users/bixlabs/followers","following_url":"https://api.github.com/users/bixlabs/following{/other_user}","gists_url":"https://api.github.com/users/bixlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bixlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bixlabs/subscriptions","organizations_url":"https://api.github.com/users/bixlabs/orgs","repos_url":"https://api.github.com/users/bixlabs/repos","events_url":"https://api.github.com/users/bixlabs/events{/privacy}","received_events_url":"https://api.github.com/users/bixlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bixlabs/bix-notifications","description":null,"fork":false,"url":"https://api.github.com/repos/bixlabs/bix-notifications","forks_url":"https://api.github.com/repos/bixlabs/bix-notifications/forks","keys_url":"https://api.github.com/repos/bixlabs/bix-notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bixlabs/bix-notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bixlabs/bix-notifications/teams","hooks_url":"https://api.github.com/repos/bixlabs/bix-notifications/hooks","issue_events_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues/events{/number}","events_url":"https://api.github.com/repos/bixlabs/bix-notifications/events","assignees_url":"https://api.github.com/repos/bixlabs/bix-notifications/assignees{/user}","branches_url":"https://api.github.com/repos/bixlabs/bix-notifications/branches{/branch}","tags_url":"https://api.github.com/repos/bixlabs/bix-notifications/tags","blobs_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bixlabs/bix-notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/bixlabs/bix-notifications/languages","stargazers_url":"https://api.github.com/repos/bixlabs/bix-notifications/stargazers","contributors_url":"https://api.github.com/repos/bixlabs/bix-notifications/contributors","subscribers_url":"https://api.github.com/repos/bixlabs/bix-notifications/subscribers","subscription_url":"https://api.github.com/repos/bixlabs/bix-notifications/subscription","commits_url":"https://api.github.com/repos/bixlabs/bix-notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/bixlabs/bix-notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/bixlabs/bix-notifications/contents/{+path}","compare_url":"https://api.github.com/repos/bixlabs/bix-notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bixlabs/bix-notifications/merges","archive_url":"https://api.github.com/repos/bixlabs/bix-notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bixlabs/bix-notifications/downloads","issues_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues{/number}","pulls_url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/bixlabs/bix-notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/bixlabs/bix-notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bixlabs/bix-notifications/labels{/name}","releases_url":"https://api.github.com/repos/bixlabs/bix-notifications/releases{/id}","deployments_url":"https://api.github.com/repos/bixlabs/bix-notifications/deployments","created_at":"2017-01-27T21:03:16Z","updated_at":"2017-02-02T19:20:41Z","pushed_at":"2017-03-30T19:46:19Z","git_url":"git://github.com/bixlabs/bix-notifications.git","ssh_url":"git@github.com:bixlabs/bix-notifications.git","clone_url":"https://github.com/bixlabs/bix-notifications.git","svn_url":"https://github.com/bixlabs/bix-notifications","homepage":null,"size":26,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":3,"default_branch":"master"}},"base":{"label":"bixlabs:master","ref":"master","sha":"167c38bdebc67c473bdfb43fcaa9acfe5e6ba1d1","user":{"login":"bixlabs","id":8978396,"avatar_url":"https://avatars2.githubusercontent.com/u/8978396?v=3","gravatar_id":"","url":"https://api.github.com/users/bixlabs","html_url":"https://github.com/bixlabs","followers_url":"https://api.github.com/users/bixlabs/followers","following_url":"https://api.github.com/users/bixlabs/following{/other_user}","gists_url":"https://api.github.com/users/bixlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bixlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bixlabs/subscriptions","organizations_url":"https://api.github.com/users/bixlabs/orgs","repos_url":"https://api.github.com/users/bixlabs/repos","events_url":"https://api.github.com/users/bixlabs/events{/privacy}","received_events_url":"https://api.github.com/users/bixlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":80245747,"name":"bix-notifications","full_name":"bixlabs/bix-notifications","owner":{"login":"bixlabs","id":8978396,"avatar_url":"https://avatars2.githubusercontent.com/u/8978396?v=3","gravatar_id":"","url":"https://api.github.com/users/bixlabs","html_url":"https://github.com/bixlabs","followers_url":"https://api.github.com/users/bixlabs/followers","following_url":"https://api.github.com/users/bixlabs/following{/other_user}","gists_url":"https://api.github.com/users/bixlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bixlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bixlabs/subscriptions","organizations_url":"https://api.github.com/users/bixlabs/orgs","repos_url":"https://api.github.com/users/bixlabs/repos","events_url":"https://api.github.com/users/bixlabs/events{/privacy}","received_events_url":"https://api.github.com/users/bixlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bixlabs/bix-notifications","description":null,"fork":false,"url":"https://api.github.com/repos/bixlabs/bix-notifications","forks_url":"https://api.github.com/repos/bixlabs/bix-notifications/forks","keys_url":"https://api.github.com/repos/bixlabs/bix-notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bixlabs/bix-notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bixlabs/bix-notifications/teams","hooks_url":"https://api.github.com/repos/bixlabs/bix-notifications/hooks","issue_events_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues/events{/number}","events_url":"https://api.github.com/repos/bixlabs/bix-notifications/events","assignees_url":"https://api.github.com/repos/bixlabs/bix-notifications/assignees{/user}","branches_url":"https://api.github.com/repos/bixlabs/bix-notifications/branches{/branch}","tags_url":"https://api.github.com/repos/bixlabs/bix-notifications/tags","blobs_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bixlabs/bix-notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/bixlabs/bix-notifications/languages","stargazers_url":"https://api.github.com/repos/bixlabs/bix-notifications/stargazers","contributors_url":"https://api.github.com/repos/bixlabs/bix-notifications/contributors","subscribers_url":"https://api.github.com/repos/bixlabs/bix-notifications/subscribers","subscription_url":"https://api.github.com/repos/bixlabs/bix-notifications/subscription","commits_url":"https://api.github.com/repos/bixlabs/bix-notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/bixlabs/bix-notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/bixlabs/bix-notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/bixlabs/bix-notifications/contents/{+path}","compare_url":"https://api.github.com/repos/bixlabs/bix-notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bixlabs/bix-notifications/merges","archive_url":"https://api.github.com/repos/bixlabs/bix-notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bixlabs/bix-notifications/downloads","issues_url":"https://api.github.com/repos/bixlabs/bix-notifications/issues{/number}","pulls_url":"https://api.github.com/repos/bixlabs/bix-notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/bixlabs/bix-notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/bixlabs/bix-notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bixlabs/bix-notifications/labels{/name}","releases_url":"https://api.github.com/repos/bixlabs/bix-notifications/releases{/id}","deployments_url":"https://api.github.com/repos/bixlabs/bix-notifications/deployments","created_at":"2017-01-27T21:03:16Z","updated_at":"2017-02-02T19:20:41Z","pushed_at":"2017-03-30T19:46:19Z","git_url":"git://github.com/bixlabs/bix-notifications.git","ssh_url":"git@github.com:bixlabs/bix-notifications.git","clone_url":"https://github.com/bixlabs/bix-notifications.git","svn_url":"https://github.com/bixlabs/bix-notifications","homepage":null,"size":26,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19"},"html":{"href":"https://github.com/bixlabs/bix-notifications/pull/19"},"issue":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/issues/19"},"comments":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/bixlabs/bix-notifications/statuses/a05820e9db8f7611ae22db5189576f3057be4687"}}}}
{"actor":{"display_login":"jac1013"}}