{"action":"created","comment":{"url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/comments/153048844","pull_request_review_id":79005987,"id":153048844,"diff_hunk":"@@ -0,0 +1,20 @@\n+import http from 'http'; \n+\n+const options = {\n+    host: 'staging-hellobooks.herokuapp.com',\n+    port: 80,\n+    path: '/WAKEUP_DYNO'\n+};\n+console.log(\"======WAKEUP DYNO START\");\n+http.get(options, function(res) {\n+    res.on('data', function(chunk) {\n+        try {\n+            // optional logging... disable after it's working\n+            console.log(\"======WAKUP DYNO: HEROKU RESPONSE: \" + chunk);\n+        } catch (err) {\n+            console.log(err.message);","path":"wakeUpDyno.js","position":15,"original_position":15,"commit_id":"910044c4b1843c7c39bcb1906f7e980363c550ed","original_commit_id":"910044c4b1843c7c39bcb1906f7e980363c550ed","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected indentation of 6 spaces but found 12  indent<br>Unexpected console statement                   no-console","created_at":"2017-11-25T16:06:06Z","updated_at":"2017-11-25T16:06:07Z","html_url":"https://github.com/benfluleck/HelloBooks/pull/34#discussion_r153048844","pull_request_url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/comments/153048844"},"html":{"href":"https://github.com/benfluleck/HelloBooks/pull/34#discussion_r153048844"},"pull_request":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34","id":154642929,"html_url":"https://github.com/benfluleck/HelloBooks/pull/34","diff_url":"https://github.com/benfluleck/HelloBooks/pull/34.diff","patch_url":"https://github.com/benfluleck/HelloBooks/pull/34.patch","issue_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues/34","number":34,"state":"open","locked":false,"title":"Web app should be scheduled during downtime","user":{"login":"benfluleck","id":26222856,"avatar_url":"https://avatars2.githubusercontent.com/u/26222856?v=4","gravatar_id":"","url":"https://api.github.com/users/benfluleck","html_url":"https://github.com/benfluleck","followers_url":"https://api.github.com/users/benfluleck/followers","following_url":"https://api.github.com/users/benfluleck/following{/other_user}","gists_url":"https://api.github.com/users/benfluleck/gists{/gist_id}","starred_url":"https://api.github.com/users/benfluleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfluleck/subscriptions","organizations_url":"https://api.github.com/users/benfluleck/orgs","repos_url":"https://api.github.com/users/benfluleck/repos","events_url":"https://api.github.com/users/benfluleck/events{/privacy}","received_events_url":"https://api.github.com/users/benfluleck/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\nWeb app scheduled to be sent during down time.\r\n\r\n#### Description\r\n<!--- Describe your changes in detail -->\r\nOverdue notifications are to be sent during downtime, during this time heroku puts the app to sleep.\r\nThe implements a scheduler to wake up the application once a day so it can send the mail. \r\n\r\n#### What does this PR do?\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\nThe PR fixes the [bug](https://www.pivotaltracker.com/story/show/153147800)  \r\n\r\n\r\n\r\n#### Screenshots (if appropriate):\r\n\r\n#### Any background context you want to provide?\r\nHeroku Dynos\r\n\r\n#### What are the relevant pivotal tracker stories?\r\nListed above\r\n#### Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] New chore (expected functionality to be implemented)\r\n\r\n#### Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n","created_at":"2017-11-25T16:05:52Z","updated_at":"2017-11-25T16:06:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1045f3e9e7d98d8edde1baa7478d50626b116b46","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34/commits","review_comments_url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34/comments","review_comment_url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues/34/comments","statuses_url":"https://api.github.com/repos/benfluleck/HelloBooks/statuses/910044c4b1843c7c39bcb1906f7e980363c550ed","head":{"label":"benfluleck:bug/153147800/web-app-should-be-scheduled-during-downtime","ref":"bug/153147800/web-app-should-be-scheduled-during-downtime","sha":"910044c4b1843c7c39bcb1906f7e980363c550ed","user":{"login":"benfluleck","id":26222856,"avatar_url":"https://avatars2.githubusercontent.com/u/26222856?v=4","gravatar_id":"","url":"https://api.github.com/users/benfluleck","html_url":"https://github.com/benfluleck","followers_url":"https://api.github.com/users/benfluleck/followers","following_url":"https://api.github.com/users/benfluleck/following{/other_user}","gists_url":"https://api.github.com/users/benfluleck/gists{/gist_id}","starred_url":"https://api.github.com/users/benfluleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfluleck/subscriptions","organizations_url":"https://api.github.com/users/benfluleck/orgs","repos_url":"https://api.github.com/users/benfluleck/repos","events_url":"https://api.github.com/users/benfluleck/events{/privacy}","received_events_url":"https://api.github.com/users/benfluleck/received_events","type":"User","site_admin":false},"repo":{"id":98877750,"name":"HelloBooks","full_name":"benfluleck/HelloBooks","owner":{"login":"benfluleck","id":26222856,"avatar_url":"https://avatars2.githubusercontent.com/u/26222856?v=4","gravatar_id":"","url":"https://api.github.com/users/benfluleck","html_url":"https://github.com/benfluleck","followers_url":"https://api.github.com/users/benfluleck/followers","following_url":"https://api.github.com/users/benfluleck/following{/other_user}","gists_url":"https://api.github.com/users/benfluleck/gists{/gist_id}","starred_url":"https://api.github.com/users/benfluleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfluleck/subscriptions","organizations_url":"https://api.github.com/users/benfluleck/orgs","repos_url":"https://api.github.com/users/benfluleck/repos","events_url":"https://api.github.com/users/benfluleck/events{/privacy}","received_events_url":"https://api.github.com/users/benfluleck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benfluleck/HelloBooks","description":"HelloBooks is a full stack javascript app that implements a simple digital library for keeping, borrowing managing all kinds of literature.","fork":false,"url":"https://api.github.com/repos/benfluleck/HelloBooks","forks_url":"https://api.github.com/repos/benfluleck/HelloBooks/forks","keys_url":"https://api.github.com/repos/benfluleck/HelloBooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benfluleck/HelloBooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benfluleck/HelloBooks/teams","hooks_url":"https://api.github.com/repos/benfluleck/HelloBooks/hooks","issue_events_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues/events{/number}","events_url":"https://api.github.com/repos/benfluleck/HelloBooks/events","assignees_url":"https://api.github.com/repos/benfluleck/HelloBooks/assignees{/user}","branches_url":"https://api.github.com/repos/benfluleck/HelloBooks/branches{/branch}","tags_url":"https://api.github.com/repos/benfluleck/HelloBooks/tags","blobs_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benfluleck/HelloBooks/statuses/{sha}","languages_url":"https://api.github.com/repos/benfluleck/HelloBooks/languages","stargazers_url":"https://api.github.com/repos/benfluleck/HelloBooks/stargazers","contributors_url":"https://api.github.com/repos/benfluleck/HelloBooks/contributors","subscribers_url":"https://api.github.com/repos/benfluleck/HelloBooks/subscribers","subscription_url":"https://api.github.com/repos/benfluleck/HelloBooks/subscription","commits_url":"https://api.github.com/repos/benfluleck/HelloBooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/benfluleck/HelloBooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/benfluleck/HelloBooks/contents/{+path}","compare_url":"https://api.github.com/repos/benfluleck/HelloBooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benfluleck/HelloBooks/merges","archive_url":"https://api.github.com/repos/benfluleck/HelloBooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benfluleck/HelloBooks/downloads","issues_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues{/number}","pulls_url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls{/number}","milestones_url":"https://api.github.com/repos/benfluleck/HelloBooks/milestones{/number}","notifications_url":"https://api.github.com/repos/benfluleck/HelloBooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benfluleck/HelloBooks/labels{/name}","releases_url":"https://api.github.com/repos/benfluleck/HelloBooks/releases{/id}","deployments_url":"https://api.github.com/repos/benfluleck/HelloBooks/deployments","created_at":"2017-07-31T10:37:01Z","updated_at":"2017-11-20T20:45:57Z","pushed_at":"2017-11-25T16:05:52Z","git_url":"git://github.com/benfluleck/HelloBooks.git","ssh_url":"git@github.com:benfluleck/HelloBooks.git","clone_url":"https://github.com/benfluleck/HelloBooks.git","svn_url":"https://github.com/benfluleck/HelloBooks","homepage":"https://staging-hellobooks.herokuapp.com/","size":15691,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"development"}},"base":{"label":"benfluleck:development","ref":"development","sha":"8bac566d8807738e9a3b584af0c168347cb05bf8","user":{"login":"benfluleck","id":26222856,"avatar_url":"https://avatars2.githubusercontent.com/u/26222856?v=4","gravatar_id":"","url":"https://api.github.com/users/benfluleck","html_url":"https://github.com/benfluleck","followers_url":"https://api.github.com/users/benfluleck/followers","following_url":"https://api.github.com/users/benfluleck/following{/other_user}","gists_url":"https://api.github.com/users/benfluleck/gists{/gist_id}","starred_url":"https://api.github.com/users/benfluleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfluleck/subscriptions","organizations_url":"https://api.github.com/users/benfluleck/orgs","repos_url":"https://api.github.com/users/benfluleck/repos","events_url":"https://api.github.com/users/benfluleck/events{/privacy}","received_events_url":"https://api.github.com/users/benfluleck/received_events","type":"User","site_admin":false},"repo":{"id":98877750,"name":"HelloBooks","full_name":"benfluleck/HelloBooks","owner":{"login":"benfluleck","id":26222856,"avatar_url":"https://avatars2.githubusercontent.com/u/26222856?v=4","gravatar_id":"","url":"https://api.github.com/users/benfluleck","html_url":"https://github.com/benfluleck","followers_url":"https://api.github.com/users/benfluleck/followers","following_url":"https://api.github.com/users/benfluleck/following{/other_user}","gists_url":"https://api.github.com/users/benfluleck/gists{/gist_id}","starred_url":"https://api.github.com/users/benfluleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfluleck/subscriptions","organizations_url":"https://api.github.com/users/benfluleck/orgs","repos_url":"https://api.github.com/users/benfluleck/repos","events_url":"https://api.github.com/users/benfluleck/events{/privacy}","received_events_url":"https://api.github.com/users/benfluleck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benfluleck/HelloBooks","description":"HelloBooks is a full stack javascript app that implements a simple digital library for keeping, borrowing managing all kinds of literature.","fork":false,"url":"https://api.github.com/repos/benfluleck/HelloBooks","forks_url":"https://api.github.com/repos/benfluleck/HelloBooks/forks","keys_url":"https://api.github.com/repos/benfluleck/HelloBooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benfluleck/HelloBooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benfluleck/HelloBooks/teams","hooks_url":"https://api.github.com/repos/benfluleck/HelloBooks/hooks","issue_events_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues/events{/number}","events_url":"https://api.github.com/repos/benfluleck/HelloBooks/events","assignees_url":"https://api.github.com/repos/benfluleck/HelloBooks/assignees{/user}","branches_url":"https://api.github.com/repos/benfluleck/HelloBooks/branches{/branch}","tags_url":"https://api.github.com/repos/benfluleck/HelloBooks/tags","blobs_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benfluleck/HelloBooks/statuses/{sha}","languages_url":"https://api.github.com/repos/benfluleck/HelloBooks/languages","stargazers_url":"https://api.github.com/repos/benfluleck/HelloBooks/stargazers","contributors_url":"https://api.github.com/repos/benfluleck/HelloBooks/contributors","subscribers_url":"https://api.github.com/repos/benfluleck/HelloBooks/subscribers","subscription_url":"https://api.github.com/repos/benfluleck/HelloBooks/subscription","commits_url":"https://api.github.com/repos/benfluleck/HelloBooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/benfluleck/HelloBooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/benfluleck/HelloBooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/benfluleck/HelloBooks/contents/{+path}","compare_url":"https://api.github.com/repos/benfluleck/HelloBooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benfluleck/HelloBooks/merges","archive_url":"https://api.github.com/repos/benfluleck/HelloBooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benfluleck/HelloBooks/downloads","issues_url":"https://api.github.com/repos/benfluleck/HelloBooks/issues{/number}","pulls_url":"https://api.github.com/repos/benfluleck/HelloBooks/pulls{/number}","milestones_url":"https://api.github.com/repos/benfluleck/HelloBooks/milestones{/number}","notifications_url":"https://api.github.com/repos/benfluleck/HelloBooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benfluleck/HelloBooks/labels{/name}","releases_url":"https://api.github.com/repos/benfluleck/HelloBooks/releases{/id}","deployments_url":"https://api.github.com/repos/benfluleck/HelloBooks/deployments","created_at":"2017-07-31T10:37:01Z","updated_at":"2017-11-20T20:45:57Z","pushed_at":"2017-11-25T16:05:52Z","git_url":"git://github.com/benfluleck/HelloBooks.git","ssh_url":"git@github.com:benfluleck/HelloBooks.git","clone_url":"https://github.com/benfluleck/HelloBooks.git","svn_url":"https://github.com/benfluleck/HelloBooks","homepage":"https://staging-hellobooks.herokuapp.com/","size":15691,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34"},"html":{"href":"https://github.com/benfluleck/HelloBooks/pull/34"},"issue":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/issues/34"},"comments":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/benfluleck/HelloBooks/statuses/910044c4b1843c7c39bcb1906f7e980363c550ed"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}