{"action":"created","comment":{"url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/comments/137360998","pull_request_review_id":61017909,"id":137360998,"diff_hunk":"@@ -28,25 +28,15 @@ class Login extends Component {\n     .then(({ data }) => {\n       console.log('got data', data);\n       localStorage.setItem('jwt_user_token', data.authenticate.jwtToken);\n-      this.setState({ redirectToReferrer: true })\n+      window.location.reload();","path":"frontend/src/Dashboard/Header/Login.js","position":5,"original_position":5,"commit_id":"30c8b76d439927eef10d102cd510fa6a0e4ebfbc","original_commit_id":"30c8b76d439927eef10d102cd510fa6a0e4ebfbc","user":{"login":"mateoclarke","id":5697474,"avatar_url":"https://avatars3.githubusercontent.com/u/5697474?v=4","gravatar_id":"","url":"https://api.github.com/users/mateoclarke","html_url":"https://github.com/mateoclarke","followers_url":"https://api.github.com/users/mateoclarke/followers","following_url":"https://api.github.com/users/mateoclarke/following{/other_user}","gists_url":"https://api.github.com/users/mateoclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/mateoclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateoclarke/subscriptions","organizations_url":"https://api.github.com/users/mateoclarke/orgs","repos_url":"https://api.github.com/users/mateoclarke/repos","events_url":"https://api.github.com/users/mateoclarke/events{/privacy}","received_events_url":"https://api.github.com/users/mateoclarke/received_events","type":"User","site_admin":false},"body":"Can you explain why you had to do this here? Looking at MDN, it sounds like we have to force a reload of server content?\r\nhttps://developer.mozilla.org/en-US/docs/Web/API/Location/reload","created_at":"2017-09-06T19:01:38Z","updated_at":"2017-09-06T19:02:40Z","html_url":"https://github.com/cityofaustin/ctxfloods/pull/34#discussion_r137360998","pull_request_url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/comments/137360998"},"html":{"href":"https://github.com/cityofaustin/ctxfloods/pull/34#discussion_r137360998"},"pull_request":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34","id":139316111,"html_url":"https://github.com/cityofaustin/ctxfloods/pull/34","diff_url":"https://github.com/cityofaustin/ctxfloods/pull/34.diff","patch_url":"https://github.com/cityofaustin/ctxfloods/pull/34.patch","issue_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/34","number":34,"state":"open","locked":false,"title":"Move login to header and update routes","user":{"login":"briaguya","id":6384156,"avatar_url":"https://avatars2.githubusercontent.com/u/6384156?v=4","gravatar_id":"","url":"https://api.github.com/users/briaguya","html_url":"https://github.com/briaguya","followers_url":"https://api.github.com/users/briaguya/followers","following_url":"https://api.github.com/users/briaguya/following{/other_user}","gists_url":"https://api.github.com/users/briaguya/gists{/gist_id}","starred_url":"https://api.github.com/users/briaguya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briaguya/subscriptions","organizations_url":"https://api.github.com/users/briaguya/orgs","repos_url":"https://api.github.com/users/briaguya/repos","events_url":"https://api.github.com/users/briaguya/events{/privacy}","received_events_url":"https://api.github.com/users/briaguya/received_events","type":"User","site_admin":false},"body":"* Move the login component from FloodsRoutes into the dashboard header.\r\n* Update FloodsRoutes to correctly load /dashboard/crossings directly\r\n* Remove the redirect logic from the login component.\r\n* Removed the login component from privateroute.\r\n* Update logout button to refresh instead of redirect","created_at":"2017-09-05T12:53:54Z","updated_at":"2017-09-06T19:02:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c5c391f23dbd21322558b2aa935510b906c60b1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"sknep","id":4451344,"avatar_url":"https://avatars1.githubusercontent.com/u/4451344?v=4","gravatar_id":"","url":"https://api.github.com/users/sknep","html_url":"https://github.com/sknep","followers_url":"https://api.github.com/users/sknep/followers","following_url":"https://api.github.com/users/sknep/following{/other_user}","gists_url":"https://api.github.com/users/sknep/gists{/gist_id}","starred_url":"https://api.github.com/users/sknep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sknep/subscriptions","organizations_url":"https://api.github.com/users/sknep/orgs","repos_url":"https://api.github.com/users/sknep/repos","events_url":"https://api.github.com/users/sknep/events{/privacy}","received_events_url":"https://api.github.com/users/sknep/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34/commits","review_comments_url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34/comments","review_comment_url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/34/comments","statuses_url":"https://api.github.com/repos/cityofaustin/ctxfloods/statuses/30c8b76d439927eef10d102cd510fa6a0e4ebfbc","head":{"label":"cityofaustin:route-login","ref":"route-login","sha":"30c8b76d439927eef10d102cd510fa6a0e4ebfbc","user":{"login":"cityofaustin","id":4871648,"avatar_url":"https://avatars3.githubusercontent.com/u/4871648?v=4","gravatar_id":"","url":"https://api.github.com/users/cityofaustin","html_url":"https://github.com/cityofaustin","followers_url":"https://api.github.com/users/cityofaustin/followers","following_url":"https://api.github.com/users/cityofaustin/following{/other_user}","gists_url":"https://api.github.com/users/cityofaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/cityofaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityofaustin/subscriptions","organizations_url":"https://api.github.com/users/cityofaustin/orgs","repos_url":"https://api.github.com/users/cityofaustin/repos","events_url":"https://api.github.com/users/cityofaustin/events{/privacy}","received_events_url":"https://api.github.com/users/cityofaustin/received_events","type":"Organization","site_admin":false},"repo":{"id":97150687,"name":"ctxfloods","full_name":"cityofaustin/ctxfloods","owner":{"login":"cityofaustin","id":4871648,"avatar_url":"https://avatars3.githubusercontent.com/u/4871648?v=4","gravatar_id":"","url":"https://api.github.com/users/cityofaustin","html_url":"https://github.com/cityofaustin","followers_url":"https://api.github.com/users/cityofaustin/followers","following_url":"https://api.github.com/users/cityofaustin/following{/other_user}","gists_url":"https://api.github.com/users/cityofaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/cityofaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityofaustin/subscriptions","organizations_url":"https://api.github.com/users/cityofaustin/orgs","repos_url":"https://api.github.com/users/cityofaustin/repos","events_url":"https://api.github.com/users/cityofaustin/events{/privacy}","received_events_url":"https://api.github.com/users/cityofaustin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cityofaustin/ctxfloods","description":"Central Texas Floods","fork":true,"url":"https://api.github.com/repos/cityofaustin/ctxfloods","forks_url":"https://api.github.com/repos/cityofaustin/ctxfloods/forks","keys_url":"https://api.github.com/repos/cityofaustin/ctxfloods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cityofaustin/ctxfloods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cityofaustin/ctxfloods/teams","hooks_url":"https://api.github.com/repos/cityofaustin/ctxfloods/hooks","issue_events_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/events{/number}","events_url":"https://api.github.com/repos/cityofaustin/ctxfloods/events","assignees_url":"https://api.github.com/repos/cityofaustin/ctxfloods/assignees{/user}","branches_url":"https://api.github.com/repos/cityofaustin/ctxfloods/branches{/branch}","tags_url":"https://api.github.com/repos/cityofaustin/ctxfloods/tags","blobs_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/refs{/sha}","trees_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cityofaustin/ctxfloods/statuses/{sha}","languages_url":"https://api.github.com/repos/cityofaustin/ctxfloods/languages","stargazers_url":"https://api.github.com/repos/cityofaustin/ctxfloods/stargazers","contributors_url":"https://api.github.com/repos/cityofaustin/ctxfloods/contributors","subscribers_url":"https://api.github.com/repos/cityofaustin/ctxfloods/subscribers","subscription_url":"https://api.github.com/repos/cityofaustin/ctxfloods/subscription","commits_url":"https://api.github.com/repos/cityofaustin/ctxfloods/commits{/sha}","git_commits_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/commits{/sha}","comments_url":"https://api.github.com/repos/cityofaustin/ctxfloods/comments{/number}","issue_comment_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/comments{/number}","contents_url":"https://api.github.com/repos/cityofaustin/ctxfloods/contents/{+path}","compare_url":"https://api.github.com/repos/cityofaustin/ctxfloods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cityofaustin/ctxfloods/merges","archive_url":"https://api.github.com/repos/cityofaustin/ctxfloods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cityofaustin/ctxfloods/downloads","issues_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues{/number}","pulls_url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls{/number}","milestones_url":"https://api.github.com/repos/cityofaustin/ctxfloods/milestones{/number}","notifications_url":"https://api.github.com/repos/cityofaustin/ctxfloods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cityofaustin/ctxfloods/labels{/name}","releases_url":"https://api.github.com/repos/cityofaustin/ctxfloods/releases{/id}","deployments_url":"https://api.github.com/repos/cityofaustin/ctxfloods/deployments","created_at":"2017-07-13T17:52:44Z","updated_at":"2017-08-31T18:36:53Z","pushed_at":"2017-09-05T12:57:39Z","git_url":"git://github.com/cityofaustin/ctxfloods.git","ssh_url":"git@github.com:cityofaustin/ctxfloods.git","clone_url":"https://github.com/cityofaustin/ctxfloods.git","svn_url":"https://github.com/cityofaustin/ctxfloods","homepage":"","size":942,"stargazers_count":2,"watchers_count":2,"language":"PLpgSQL","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"cityofaustin:map-viewport","ref":"map-viewport","sha":"6bc7a2f4894c71c183e412634108515974891c2e","user":{"login":"cityofaustin","id":4871648,"avatar_url":"https://avatars3.githubusercontent.com/u/4871648?v=4","gravatar_id":"","url":"https://api.github.com/users/cityofaustin","html_url":"https://github.com/cityofaustin","followers_url":"https://api.github.com/users/cityofaustin/followers","following_url":"https://api.github.com/users/cityofaustin/following{/other_user}","gists_url":"https://api.github.com/users/cityofaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/cityofaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityofaustin/subscriptions","organizations_url":"https://api.github.com/users/cityofaustin/orgs","repos_url":"https://api.github.com/users/cityofaustin/repos","events_url":"https://api.github.com/users/cityofaustin/events{/privacy}","received_events_url":"https://api.github.com/users/cityofaustin/received_events","type":"Organization","site_admin":false},"repo":{"id":97150687,"name":"ctxfloods","full_name":"cityofaustin/ctxfloods","owner":{"login":"cityofaustin","id":4871648,"avatar_url":"https://avatars3.githubusercontent.com/u/4871648?v=4","gravatar_id":"","url":"https://api.github.com/users/cityofaustin","html_url":"https://github.com/cityofaustin","followers_url":"https://api.github.com/users/cityofaustin/followers","following_url":"https://api.github.com/users/cityofaustin/following{/other_user}","gists_url":"https://api.github.com/users/cityofaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/cityofaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cityofaustin/subscriptions","organizations_url":"https://api.github.com/users/cityofaustin/orgs","repos_url":"https://api.github.com/users/cityofaustin/repos","events_url":"https://api.github.com/users/cityofaustin/events{/privacy}","received_events_url":"https://api.github.com/users/cityofaustin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cityofaustin/ctxfloods","description":"Central Texas Floods","fork":true,"url":"https://api.github.com/repos/cityofaustin/ctxfloods","forks_url":"https://api.github.com/repos/cityofaustin/ctxfloods/forks","keys_url":"https://api.github.com/repos/cityofaustin/ctxfloods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cityofaustin/ctxfloods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cityofaustin/ctxfloods/teams","hooks_url":"https://api.github.com/repos/cityofaustin/ctxfloods/hooks","issue_events_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/events{/number}","events_url":"https://api.github.com/repos/cityofaustin/ctxfloods/events","assignees_url":"https://api.github.com/repos/cityofaustin/ctxfloods/assignees{/user}","branches_url":"https://api.github.com/repos/cityofaustin/ctxfloods/branches{/branch}","tags_url":"https://api.github.com/repos/cityofaustin/ctxfloods/tags","blobs_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/refs{/sha}","trees_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cityofaustin/ctxfloods/statuses/{sha}","languages_url":"https://api.github.com/repos/cityofaustin/ctxfloods/languages","stargazers_url":"https://api.github.com/repos/cityofaustin/ctxfloods/stargazers","contributors_url":"https://api.github.com/repos/cityofaustin/ctxfloods/contributors","subscribers_url":"https://api.github.com/repos/cityofaustin/ctxfloods/subscribers","subscription_url":"https://api.github.com/repos/cityofaustin/ctxfloods/subscription","commits_url":"https://api.github.com/repos/cityofaustin/ctxfloods/commits{/sha}","git_commits_url":"https://api.github.com/repos/cityofaustin/ctxfloods/git/commits{/sha}","comments_url":"https://api.github.com/repos/cityofaustin/ctxfloods/comments{/number}","issue_comment_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/comments{/number}","contents_url":"https://api.github.com/repos/cityofaustin/ctxfloods/contents/{+path}","compare_url":"https://api.github.com/repos/cityofaustin/ctxfloods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cityofaustin/ctxfloods/merges","archive_url":"https://api.github.com/repos/cityofaustin/ctxfloods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cityofaustin/ctxfloods/downloads","issues_url":"https://api.github.com/repos/cityofaustin/ctxfloods/issues{/number}","pulls_url":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls{/number}","milestones_url":"https://api.github.com/repos/cityofaustin/ctxfloods/milestones{/number}","notifications_url":"https://api.github.com/repos/cityofaustin/ctxfloods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cityofaustin/ctxfloods/labels{/name}","releases_url":"https://api.github.com/repos/cityofaustin/ctxfloods/releases{/id}","deployments_url":"https://api.github.com/repos/cityofaustin/ctxfloods/deployments","created_at":"2017-07-13T17:52:44Z","updated_at":"2017-08-31T18:36:53Z","pushed_at":"2017-09-05T12:57:39Z","git_url":"git://github.com/cityofaustin/ctxfloods.git","ssh_url":"git@github.com:cityofaustin/ctxfloods.git","clone_url":"https://github.com/cityofaustin/ctxfloods.git","svn_url":"https://github.com/cityofaustin/ctxfloods","homepage":"","size":942,"stargazers_count":2,"watchers_count":2,"language":"PLpgSQL","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34"},"html":{"href":"https://github.com/cityofaustin/ctxfloods/pull/34"},"issue":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/34"},"comments":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/cityofaustin/ctxfloods/statuses/30c8b76d439927eef10d102cd510fa6a0e4ebfbc"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mateoclarke"}}