{"action":"created","comment":{"url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/comments/237954624","pull_request_review_id":180388271,"id":237954624,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzk1NDYyNA==","diff_hunk":"@@ -0,0 +1,99 @@\n+import React, { Component } from 'react';\n+import './App.css';\n+import { withRouter, Switch, Route, NavLink } from 'react-router-dom';\n+import RegisterForm from './components/RegisterForm';\n+// import UsersList from './components/UsersList';\n+import LoginForm from './components/LoginForm';\n+import axios from 'axios';\n+\n+\n+const url = process.env.REACT_APP_API_URL;\n+\n+class App extends Component {\n+  constructor(props){\n+    super(props);\n+    this.state = {\n+      loggedIn: false,\n+      users: [],\n+    };\n+  }\n+\n+\n+  //logout \n+  removeToken = () => {\n+    //delete token\n+    window.localStorage.removeItem('my_token');\n+    //set loggedin to false\n+    this.setState({loggedIn:false});","path":"cazador/src/App.js","position":27,"original_position":27,"commit_id":"0f96b7f2e2a325ea49ace4f8fa49300b247f4755","original_commit_id":"0f96b7f2e2a325ea49ace4f8fa49300b247f4755","user":{"login":"kamry-bowman","id":37093582,"node_id":"MDQ6VXNlcjM3MDkzNTgy","avatar_url":"https://avatars1.githubusercontent.com/u/37093582?v=4","gravatar_id":"","url":"https://api.github.com/users/kamry-bowman","html_url":"https://github.com/kamry-bowman","followers_url":"https://api.github.com/users/kamry-bowman/followers","following_url":"https://api.github.com/users/kamry-bowman/following{/other_user}","gists_url":"https://api.github.com/users/kamry-bowman/gists{/gist_id}","starred_url":"https://api.github.com/users/kamry-bowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamry-bowman/subscriptions","organizations_url":"https://api.github.com/users/kamry-bowman/orgs","repos_url":"https://api.github.com/users/kamry-bowman/repos","events_url":"https://api.github.com/users/kamry-bowman/events{/privacy}","received_events_url":"https://api.github.com/users/kamry-bowman/received_events","type":"User","site_admin":false},"body":"you should probably clear out the users too here, since that is \"privileged\" information","created_at":"2018-11-30T18:19:43Z","updated_at":"2018-11-30T18:35:26Z","html_url":"https://github.com/LambdaSchool/auth-ii/pull/291#discussion_r237954624","pull_request_url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/comments/237954624"},"html":{"href":"https://github.com/LambdaSchool/auth-ii/pull/291#discussion_r237954624"},"pull_request":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291"}}},"pull_request":{"url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291","id":234424745,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NDI0NzQ1","html_url":"https://github.com/LambdaSchool/auth-ii/pull/291","diff_url":"https://github.com/LambdaSchool/auth-ii/pull/291.diff","patch_url":"https://github.com/LambdaSchool/auth-ii/pull/291.patch","issue_url":"https://api.github.com/repos/LambdaSchool/auth-ii/issues/291","number":291,"state":"open","locked":false,"title":"Hunter Smith - auth-ii","user":{"login":"Hunter315","id":35641380,"node_id":"MDQ6VXNlcjM1NjQxMzgw","avatar_url":"https://avatars3.githubusercontent.com/u/35641380?v=4","gravatar_id":"","url":"https://api.github.com/users/Hunter315","html_url":"https://github.com/Hunter315","followers_url":"https://api.github.com/users/Hunter315/followers","following_url":"https://api.github.com/users/Hunter315/following{/other_user}","gists_url":"https://api.github.com/users/Hunter315/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunter315/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunter315/subscriptions","organizations_url":"https://api.github.com/users/Hunter315/orgs","repos_url":"https://api.github.com/users/Hunter315/repos","events_url":"https://api.github.com/users/Hunter315/events{/privacy}","received_events_url":"https://api.github.com/users/Hunter315/received_events","type":"User","site_admin":false},"body":"@kamry-bowman","created_at":"2018-11-28T21:09:24Z","updated_at":"2018-11-30T18:35:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc5d00478df55d0d22bb401fc2d0b9eda48ca52c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291/commits","review_comments_url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291/comments","review_comment_url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LambdaSchool/auth-ii/issues/291/comments","statuses_url":"https://api.github.com/repos/LambdaSchool/auth-ii/statuses/0f96b7f2e2a325ea49ace4f8fa49300b247f4755","head":{"label":"Hunter315:master","ref":"master","sha":"0f96b7f2e2a325ea49ace4f8fa49300b247f4755","user":{"login":"Hunter315","id":35641380,"node_id":"MDQ6VXNlcjM1NjQxMzgw","avatar_url":"https://avatars3.githubusercontent.com/u/35641380?v=4","gravatar_id":"","url":"https://api.github.com/users/Hunter315","html_url":"https://github.com/Hunter315","followers_url":"https://api.github.com/users/Hunter315/followers","following_url":"https://api.github.com/users/Hunter315/following{/other_user}","gists_url":"https://api.github.com/users/Hunter315/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunter315/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunter315/subscriptions","organizations_url":"https://api.github.com/users/Hunter315/orgs","repos_url":"https://api.github.com/users/Hunter315/repos","events_url":"https://api.github.com/users/Hunter315/events{/privacy}","received_events_url":"https://api.github.com/users/Hunter315/received_events","type":"User","site_admin":false},"repo":{"id":159563317,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk1NjMzMTc=","name":"auth-ii","full_name":"Hunter315/auth-ii","private":false,"owner":{"login":"Hunter315","id":35641380,"node_id":"MDQ6VXNlcjM1NjQxMzgw","avatar_url":"https://avatars3.githubusercontent.com/u/35641380?v=4","gravatar_id":"","url":"https://api.github.com/users/Hunter315","html_url":"https://github.com/Hunter315","followers_url":"https://api.github.com/users/Hunter315/followers","following_url":"https://api.github.com/users/Hunter315/following{/other_user}","gists_url":"https://api.github.com/users/Hunter315/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunter315/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunter315/subscriptions","organizations_url":"https://api.github.com/users/Hunter315/orgs","repos_url":"https://api.github.com/users/Hunter315/repos","events_url":"https://api.github.com/users/Hunter315/events{/privacy}","received_events_url":"https://api.github.com/users/Hunter315/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Hunter315/auth-ii","description":"Adding Authentication to an API using JSON Web Tokens","fork":true,"url":"https://api.github.com/repos/Hunter315/auth-ii","forks_url":"https://api.github.com/repos/Hunter315/auth-ii/forks","keys_url":"https://api.github.com/repos/Hunter315/auth-ii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hunter315/auth-ii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hunter315/auth-ii/teams","hooks_url":"https://api.github.com/repos/Hunter315/auth-ii/hooks","issue_events_url":"https://api.github.com/repos/Hunter315/auth-ii/issues/events{/number}","events_url":"https://api.github.com/repos/Hunter315/auth-ii/events","assignees_url":"https://api.github.com/repos/Hunter315/auth-ii/assignees{/user}","branches_url":"https://api.github.com/repos/Hunter315/auth-ii/branches{/branch}","tags_url":"https://api.github.com/repos/Hunter315/auth-ii/tags","blobs_url":"https://api.github.com/repos/Hunter315/auth-ii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hunter315/auth-ii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hunter315/auth-ii/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hunter315/auth-ii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hunter315/auth-ii/statuses/{sha}","languages_url":"https://api.github.com/repos/Hunter315/auth-ii/languages","stargazers_url":"https://api.github.com/repos/Hunter315/auth-ii/stargazers","contributors_url":"https://api.github.com/repos/Hunter315/auth-ii/contributors","subscribers_url":"https://api.github.com/repos/Hunter315/auth-ii/subscribers","subscription_url":"https://api.github.com/repos/Hunter315/auth-ii/subscription","commits_url":"https://api.github.com/repos/Hunter315/auth-ii/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hunter315/auth-ii/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hunter315/auth-ii/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hunter315/auth-ii/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hunter315/auth-ii/contents/{+path}","compare_url":"https://api.github.com/repos/Hunter315/auth-ii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hunter315/auth-ii/merges","archive_url":"https://api.github.com/repos/Hunter315/auth-ii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hunter315/auth-ii/downloads","issues_url":"https://api.github.com/repos/Hunter315/auth-ii/issues{/number}","pulls_url":"https://api.github.com/repos/Hunter315/auth-ii/pulls{/number}","milestones_url":"https://api.github.com/repos/Hunter315/auth-ii/milestones{/number}","notifications_url":"https://api.github.com/repos/Hunter315/auth-ii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hunter315/auth-ii/labels{/name}","releases_url":"https://api.github.com/repos/Hunter315/auth-ii/releases{/id}","deployments_url":"https://api.github.com/repos/Hunter315/auth-ii/deployments","created_at":"2018-11-28T20:52:58Z","updated_at":"2018-11-29T21:28:51Z","pushed_at":"2018-11-29T21:28:49Z","git_url":"git://github.com/Hunter315/auth-ii.git","ssh_url":"git@github.com:Hunter315/auth-ii.git","clone_url":"https://github.com/Hunter315/auth-ii.git","svn_url":"https://github.com/Hunter315/auth-ii","homepage":"","size":1557,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LambdaSchool:master","ref":"master","sha":"0eaf5cb038cf364b43238a83b2040db881904fb0","user":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":101095784,"node_id":"MDEwOlJlcG9zaXRvcnkxMDEwOTU3ODQ=","name":"auth-ii","full_name":"LambdaSchool/auth-ii","private":false,"owner":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LambdaSchool/auth-ii","description":"Adding Authentication to an API using JSON Web Tokens","fork":false,"url":"https://api.github.com/repos/LambdaSchool/auth-ii","forks_url":"https://api.github.com/repos/LambdaSchool/auth-ii/forks","keys_url":"https://api.github.com/repos/LambdaSchool/auth-ii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LambdaSchool/auth-ii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LambdaSchool/auth-ii/teams","hooks_url":"https://api.github.com/repos/LambdaSchool/auth-ii/hooks","issue_events_url":"https://api.github.com/repos/LambdaSchool/auth-ii/issues/events{/number}","events_url":"https://api.github.com/repos/LambdaSchool/auth-ii/events","assignees_url":"https://api.github.com/repos/LambdaSchool/auth-ii/assignees{/user}","branches_url":"https://api.github.com/repos/LambdaSchool/auth-ii/branches{/branch}","tags_url":"https://api.github.com/repos/LambdaSchool/auth-ii/tags","blobs_url":"https://api.github.com/repos/LambdaSchool/auth-ii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LambdaSchool/auth-ii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LambdaSchool/auth-ii/git/refs{/sha}","trees_url":"https://api.github.com/repos/LambdaSchool/auth-ii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LambdaSchool/auth-ii/statuses/{sha}","languages_url":"https://api.github.com/repos/LambdaSchool/auth-ii/languages","stargazers_url":"https://api.github.com/repos/LambdaSchool/auth-ii/stargazers","contributors_url":"https://api.github.com/repos/LambdaSchool/auth-ii/contributors","subscribers_url":"https://api.github.com/repos/LambdaSchool/auth-ii/subscribers","subscription_url":"https://api.github.com/repos/LambdaSchool/auth-ii/subscription","commits_url":"https://api.github.com/repos/LambdaSchool/auth-ii/commits{/sha}","git_commits_url":"https://api.github.com/repos/LambdaSchool/auth-ii/git/commits{/sha}","comments_url":"https://api.github.com/repos/LambdaSchool/auth-ii/comments{/number}","issue_comment_url":"https://api.github.com/repos/LambdaSchool/auth-ii/issues/comments{/number}","contents_url":"https://api.github.com/repos/LambdaSchool/auth-ii/contents/{+path}","compare_url":"https://api.github.com/repos/LambdaSchool/auth-ii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LambdaSchool/auth-ii/merges","archive_url":"https://api.github.com/repos/LambdaSchool/auth-ii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LambdaSchool/auth-ii/downloads","issues_url":"https://api.github.com/repos/LambdaSchool/auth-ii/issues{/number}","pulls_url":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls{/number}","milestones_url":"https://api.github.com/repos/LambdaSchool/auth-ii/milestones{/number}","notifications_url":"https://api.github.com/repos/LambdaSchool/auth-ii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LambdaSchool/auth-ii/labels{/name}","releases_url":"https://api.github.com/repos/LambdaSchool/auth-ii/releases{/id}","deployments_url":"https://api.github.com/repos/LambdaSchool/auth-ii/deployments","created_at":"2017-08-22T18:38:19Z","updated_at":"2018-11-28T20:18:50Z","pushed_at":"2018-11-30T16:20:11Z","git_url":"git://github.com/LambdaSchool/auth-ii.git","ssh_url":"git@github.com:LambdaSchool/auth-ii.git","clone_url":"https://github.com/LambdaSchool/auth-ii.git","svn_url":"https://github.com/LambdaSchool/auth-ii","homepage":"","size":1485,"stargazers_count":5,"watchers_count":5,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":513,"mirror_url":null,"archived":false,"open_issues_count":188,"license":null,"forks":513,"open_issues":188,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291"},"html":{"href":"https://github.com/LambdaSchool/auth-ii/pull/291"},"issue":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/issues/291"},"comments":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/issues/291/comments"},"review_comments":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291/comments"},"review_comment":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/pulls/291/commits"},"statuses":{"href":"https://api.github.com/repos/LambdaSchool/auth-ii/statuses/0f96b7f2e2a325ea49ace4f8fa49300b247f4755"}},"author_association":"NONE"}}
{"actor":{"display_login":"kamry-bowman"}}