{"action":"created","comment":{"url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/comments/136474841","pull_request_review_id":60018665,"id":136474841,"diff_hunk":"@@ -44,6 +44,7 @@ function fetchCheckHelper(URL, body) {\n         },\n         method: 'POST',\n         body: JSON.stringify(body),\n+        credentials: 'include',","path":"app/javascript/cp/fetch.js","position":4,"original_position":4,"commit_id":"3cf0269037e00a27c88bbb1617844e0969b56b31","original_commit_id":"3cf0269037e00a27c88bbb1617844e0969b56b31","user":{"login":"jmzaleski","id":9355220,"avatar_url":"https://avatars0.githubusercontent.com/u/9355220?v=4","gravatar_id":"","url":"https://api.github.com/users/jmzaleski","html_url":"https://github.com/jmzaleski","followers_url":"https://api.github.com/users/jmzaleski/followers","following_url":"https://api.github.com/users/jmzaleski/following{/other_user}","gists_url":"https://api.github.com/users/jmzaleski/gists{/gist_id}","starred_url":"https://api.github.com/users/jmzaleski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmzaleski/subscriptions","organizations_url":"https://api.github.com/users/jmzaleski/orgs","repos_url":"https://api.github.com/users/jmzaleski/repos","events_url":"https://api.github.com/users/jmzaleski/events{/privacy}","received_events_url":"https://api.github.com/users/jmzaleski/received_events","type":"User","site_admin":false},"body":"sure would be nice to refactor this.. so many places! I'm not sure how.","created_at":"2017-08-31T23:55:50Z","updated_at":"2017-08-31T23:57:23Z","html_url":"https://github.com/uoft-tapp/tapp-cp/pull/46#discussion_r136474841","pull_request_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/comments/136474841"},"html":{"href":"https://github.com/uoft-tapp/tapp-cp/pull/46#discussion_r136474841"},"pull_request":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46","id":138547538,"html_url":"https://github.com/uoft-tapp/tapp-cp/pull/46","diff_url":"https://github.com/uoft-tapp/tapp-cp/pull/46.diff","patch_url":"https://github.com/uoft-tapp/tapp-cp/pull/46.patch","issue_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/46","number":46,"state":"open","locked":false,"title":"Create authorization","user":{"login":"michellemtchai","id":22383586,"avatar_url":"https://avatars0.githubusercontent.com/u/22383586?v=4","gravatar_id":"","url":"https://api.github.com/users/michellemtchai","html_url":"https://github.com/michellemtchai","followers_url":"https://api.github.com/users/michellemtchai/followers","following_url":"https://api.github.com/users/michellemtchai/following{/other_user}","gists_url":"https://api.github.com/users/michellemtchai/gists{/gist_id}","starred_url":"https://api.github.com/users/michellemtchai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michellemtchai/subscriptions","organizations_url":"https://api.github.com/users/michellemtchai/orgs","repos_url":"https://api.github.com/users/michellemtchai/repos","events_url":"https://api.github.com/users/michellemtchai/events{/privacy}","received_events_url":"https://api.github.com/users/michellemtchai/received_events","type":"User","site_admin":false},"body":"- assign utorid for session\r\n- add logout route","created_at":"2017-08-30T23:01:14Z","updated_at":"2017-08-31T23:57:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c607da42fbc0474bbfdbe7f274a0b0074e63a964","assignee":null,"assignees":[],"requested_reviewers":[{"login":"reidka","id":420794,"avatar_url":"https://avatars1.githubusercontent.com/u/420794?v=4","gravatar_id":"","url":"https://api.github.com/users/reidka","html_url":"https://github.com/reidka","followers_url":"https://api.github.com/users/reidka/followers","following_url":"https://api.github.com/users/reidka/following{/other_user}","gists_url":"https://api.github.com/users/reidka/gists{/gist_id}","starred_url":"https://api.github.com/users/reidka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reidka/subscriptions","organizations_url":"https://api.github.com/users/reidka/orgs","repos_url":"https://api.github.com/users/reidka/repos","events_url":"https://api.github.com/users/reidka/events{/privacy}","received_events_url":"https://api.github.com/users/reidka/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46/commits","review_comments_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46/comments","review_comment_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/46/comments","statuses_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/statuses/3cf0269037e00a27c88bbb1617844e0969b56b31","head":{"label":"uoft-tapp:create-authorization","ref":"create-authorization","sha":"3cf0269037e00a27c88bbb1617844e0969b56b31","user":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars1.githubusercontent.com/u/28903963?v=4","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"repo":{"id":101331135,"name":"tapp-cp","full_name":"uoft-tapp/tapp-cp","owner":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars1.githubusercontent.com/u/28903963?v=4","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uoft-tapp/tapp-cp","description":"TA assignment and matching application (TAPP) & Contract Presentment helper (CP) at the Department of Computer Science, University of Toronto","fork":false,"url":"https://api.github.com/repos/uoft-tapp/tapp-cp","forks_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/forks","keys_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/teams","hooks_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/hooks","issue_events_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/events{/number}","events_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/events","assignees_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/assignees{/user}","branches_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/branches{/branch}","tags_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/tags","blobs_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/statuses/{sha}","languages_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/languages","stargazers_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/stargazers","contributors_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/contributors","subscribers_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/subscribers","subscription_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/subscription","commits_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/contents/{+path}","compare_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/merges","archive_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/downloads","issues_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues{/number}","pulls_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls{/number}","milestones_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/milestones{/number}","notifications_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/labels{/name}","releases_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/releases{/id}","deployments_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/deployments","created_at":"2017-08-24T19:35:58Z","updated_at":"2017-08-26T04:01:28Z","pushed_at":"2017-08-31T23:37:27Z","git_url":"git://github.com/uoft-tapp/tapp-cp.git","ssh_url":"git@github.com:uoft-tapp/tapp-cp.git","clone_url":"https://github.com/uoft-tapp/tapp-cp.git","svn_url":"https://github.com/uoft-tapp/tapp-cp","homepage":"","size":1489,"stargazers_count":0,"watchers_count":0,"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":26,"forks":1,"open_issues":26,"watchers":0,"default_branch":"master"}},"base":{"label":"uoft-tapp:master","ref":"master","sha":"80ea1b67e354667792f07af10976b59aeaa684f5","user":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars1.githubusercontent.com/u/28903963?v=4","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"repo":{"id":101331135,"name":"tapp-cp","full_name":"uoft-tapp/tapp-cp","owner":{"login":"uoft-tapp","id":28903963,"avatar_url":"https://avatars1.githubusercontent.com/u/28903963?v=4","gravatar_id":"","url":"https://api.github.com/users/uoft-tapp","html_url":"https://github.com/uoft-tapp","followers_url":"https://api.github.com/users/uoft-tapp/followers","following_url":"https://api.github.com/users/uoft-tapp/following{/other_user}","gists_url":"https://api.github.com/users/uoft-tapp/gists{/gist_id}","starred_url":"https://api.github.com/users/uoft-tapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uoft-tapp/subscriptions","organizations_url":"https://api.github.com/users/uoft-tapp/orgs","repos_url":"https://api.github.com/users/uoft-tapp/repos","events_url":"https://api.github.com/users/uoft-tapp/events{/privacy}","received_events_url":"https://api.github.com/users/uoft-tapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uoft-tapp/tapp-cp","description":"TA assignment and matching application (TAPP) & Contract Presentment helper (CP) at the Department of Computer Science, University of Toronto","fork":false,"url":"https://api.github.com/repos/uoft-tapp/tapp-cp","forks_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/forks","keys_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/teams","hooks_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/hooks","issue_events_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/events{/number}","events_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/events","assignees_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/assignees{/user}","branches_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/branches{/branch}","tags_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/tags","blobs_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/statuses/{sha}","languages_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/languages","stargazers_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/stargazers","contributors_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/contributors","subscribers_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/subscribers","subscription_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/subscription","commits_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/contents/{+path}","compare_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/merges","archive_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/downloads","issues_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues{/number}","pulls_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls{/number}","milestones_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/milestones{/number}","notifications_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/labels{/name}","releases_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/releases{/id}","deployments_url":"https://api.github.com/repos/uoft-tapp/tapp-cp/deployments","created_at":"2017-08-24T19:35:58Z","updated_at":"2017-08-26T04:01:28Z","pushed_at":"2017-08-31T23:37:27Z","git_url":"git://github.com/uoft-tapp/tapp-cp.git","ssh_url":"git@github.com:uoft-tapp/tapp-cp.git","clone_url":"https://github.com/uoft-tapp/tapp-cp.git","svn_url":"https://github.com/uoft-tapp/tapp-cp","homepage":"","size":1489,"stargazers_count":0,"watchers_count":0,"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":26,"forks":1,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46"},"html":{"href":"https://github.com/uoft-tapp/tapp-cp/pull/46"},"issue":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/46"},"comments":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/uoft-tapp/tapp-cp/statuses/3cf0269037e00a27c88bbb1617844e0969b56b31"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jmzaleski"}}