{"action":"created","comment":{"url":"https://api.github.com/repos/wtg/shuttletracker/pulls/comments/176960955","pull_request_review_id":106750708,"id":176960955,"diff_hunk":"@@ -180,18 +110,20 @@ func (api *API) RoutesDeleteHandler(w http.ResponseWriter, r *http.Request) {\n \tif api.cfg.Authenticate && !cas.IsAuthenticated(r) {\n \t\treturn\n \t}\n+\n \tid := chi.URLParam(r, \"id\")\n \tlog.Debugf(\"deleting\", id)\n \terr := api.db.DeleteRoute(id)\n+\n \t// Error handling\n \tif err != nil {\n \t\thttp.Error(w, err.Error(), http.StatusInternalServerError)\n \t}\n }\n \n type sched struct {\n-\tTimes []model.WeekTime `json:times`\n-\tID    string           `json:id`\n+\tTimes []model.Time `json:times`\n+\tID    string       `json:id`","path":"api/routes.go","position":131,"original_position":131,"commit_id":"0c2eab948a9d670d3c9d9d7b7cc8696944b71ac6","original_commit_id":"0c2eab948a9d670d3c9d9d7b7cc8696944b71ac6","user":{"login":"kochman","id":335234,"avatar_url":"https://avatars2.githubusercontent.com/u/335234?v=4","gravatar_id":"","url":"https://api.github.com/users/kochman","html_url":"https://github.com/kochman","followers_url":"https://api.github.com/users/kochman/followers","following_url":"https://api.github.com/users/kochman/following{/other_user}","gists_url":"https://api.github.com/users/kochman/gists{/gist_id}","starred_url":"https://api.github.com/users/kochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kochman/subscriptions","organizations_url":"https://api.github.com/users/kochman/orgs","repos_url":"https://api.github.com/users/kochman/repos","events_url":"https://api.github.com/users/kochman/events{/privacy}","received_events_url":"https://api.github.com/users/kochman/received_events","type":"User","site_admin":false},"body":"These struct tags need quotation marks around the names https://travis-ci.org/wtg/shuttletracker/jobs/357929397#L549","created_at":"2018-03-26T00:35:35Z","updated_at":"2018-03-26T00:40:05Z","html_url":"https://github.com/wtg/shuttletracker/pull/136#discussion_r176960955","pull_request_url":"https://api.github.com/repos/wtg/shuttletracker/pulls/136","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/wtg/shuttletracker/pulls/comments/176960955"},"html":{"href":"https://github.com/wtg/shuttletracker/pull/136#discussion_r176960955"},"pull_request":{"href":"https://api.github.com/repos/wtg/shuttletracker/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/wtg/shuttletracker/pulls/136","id":176029825,"html_url":"https://github.com/wtg/shuttletracker/pull/136","diff_url":"https://github.com/wtg/shuttletracker/pull/136.diff","patch_url":"https://github.com/wtg/shuttletracker/pull/136.patch","issue_url":"https://api.github.com/repos/wtg/shuttletracker/issues/136","number":136,"state":"open","locked":false,"title":"Route Scheduling Fix","user":{"login":"jlyon1","id":6408853,"avatar_url":"https://avatars3.githubusercontent.com/u/6408853?v=4","gravatar_id":"","url":"https://api.github.com/users/jlyon1","html_url":"https://github.com/jlyon1","followers_url":"https://api.github.com/users/jlyon1/followers","following_url":"https://api.github.com/users/jlyon1/following{/other_user}","gists_url":"https://api.github.com/users/jlyon1/gists{/gist_id}","starred_url":"https://api.github.com/users/jlyon1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlyon1/subscriptions","organizations_url":"https://api.github.com/users/jlyon1/orgs","repos_url":"https://api.github.com/users/jlyon1/repos","events_url":"https://api.github.com/users/jlyon1/events{/privacy}","received_events_url":"https://api.github.com/users/jlyon1/received_events","type":"User","site_admin":false},"body":"This should fix #133","created_at":"2018-03-19T21:25:13Z","updated_at":"2018-03-26T00:40:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6093c19f92c7e76195e34efa1602b500eeb0c21","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":732047094,"url":"https://api.github.com/repos/wtg/shuttletracker/labels/ready","name":"ready","color":"90cc47","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wtg/shuttletracker/pulls/136/commits","review_comments_url":"https://api.github.com/repos/wtg/shuttletracker/pulls/136/comments","review_comment_url":"https://api.github.com/repos/wtg/shuttletracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wtg/shuttletracker/issues/136/comments","statuses_url":"https://api.github.com/repos/wtg/shuttletracker/statuses/0c2eab948a9d670d3c9d9d7b7cc8696944b71ac6","head":{"label":"wtg:route-rewrite","ref":"route-rewrite","sha":"0c2eab948a9d670d3c9d9d7b7cc8696944b71ac6","user":{"login":"wtg","id":142864,"avatar_url":"https://avatars2.githubusercontent.com/u/142864?v=4","gravatar_id":"","url":"https://api.github.com/users/wtg","html_url":"https://github.com/wtg","followers_url":"https://api.github.com/users/wtg/followers","following_url":"https://api.github.com/users/wtg/following{/other_user}","gists_url":"https://api.github.com/users/wtg/gists{/gist_id}","starred_url":"https://api.github.com/users/wtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtg/subscriptions","organizations_url":"https://api.github.com/users/wtg/orgs","repos_url":"https://api.github.com/users/wtg/repos","events_url":"https://api.github.com/users/wtg/events{/privacy}","received_events_url":"https://api.github.com/users/wtg/received_events","type":"Organization","site_admin":false},"repo":{"id":29942176,"name":"shuttletracker","full_name":"wtg/shuttletracker","owner":{"login":"wtg","id":142864,"avatar_url":"https://avatars2.githubusercontent.com/u/142864?v=4","gravatar_id":"","url":"https://api.github.com/users/wtg","html_url":"https://github.com/wtg","followers_url":"https://api.github.com/users/wtg/followers","following_url":"https://api.github.com/users/wtg/following{/other_user}","gists_url":"https://api.github.com/users/wtg/gists{/gist_id}","starred_url":"https://api.github.com/users/wtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtg/subscriptions","organizations_url":"https://api.github.com/users/wtg/orgs","repos_url":"https://api.github.com/users/wtg/repos","events_url":"https://api.github.com/users/wtg/events{/privacy}","received_events_url":"https://api.github.com/users/wtg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wtg/shuttletracker","description":"Shuttle tracking for RPI.","fork":false,"url":"https://api.github.com/repos/wtg/shuttletracker","forks_url":"https://api.github.com/repos/wtg/shuttletracker/forks","keys_url":"https://api.github.com/repos/wtg/shuttletracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wtg/shuttletracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wtg/shuttletracker/teams","hooks_url":"https://api.github.com/repos/wtg/shuttletracker/hooks","issue_events_url":"https://api.github.com/repos/wtg/shuttletracker/issues/events{/number}","events_url":"https://api.github.com/repos/wtg/shuttletracker/events","assignees_url":"https://api.github.com/repos/wtg/shuttletracker/assignees{/user}","branches_url":"https://api.github.com/repos/wtg/shuttletracker/branches{/branch}","tags_url":"https://api.github.com/repos/wtg/shuttletracker/tags","blobs_url":"https://api.github.com/repos/wtg/shuttletracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wtg/shuttletracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wtg/shuttletracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/wtg/shuttletracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wtg/shuttletracker/statuses/{sha}","languages_url":"https://api.github.com/repos/wtg/shuttletracker/languages","stargazers_url":"https://api.github.com/repos/wtg/shuttletracker/stargazers","contributors_url":"https://api.github.com/repos/wtg/shuttletracker/contributors","subscribers_url":"https://api.github.com/repos/wtg/shuttletracker/subscribers","subscription_url":"https://api.github.com/repos/wtg/shuttletracker/subscription","commits_url":"https://api.github.com/repos/wtg/shuttletracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/wtg/shuttletracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/wtg/shuttletracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/wtg/shuttletracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/wtg/shuttletracker/contents/{+path}","compare_url":"https://api.github.com/repos/wtg/shuttletracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wtg/shuttletracker/merges","archive_url":"https://api.github.com/repos/wtg/shuttletracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wtg/shuttletracker/downloads","issues_url":"https://api.github.com/repos/wtg/shuttletracker/issues{/number}","pulls_url":"https://api.github.com/repos/wtg/shuttletracker/pulls{/number}","milestones_url":"https://api.github.com/repos/wtg/shuttletracker/milestones{/number}","notifications_url":"https://api.github.com/repos/wtg/shuttletracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wtg/shuttletracker/labels{/name}","releases_url":"https://api.github.com/repos/wtg/shuttletracker/releases{/id}","deployments_url":"https://api.github.com/repos/wtg/shuttletracker/deployments","created_at":"2015-01-28T00:19:00Z","updated_at":"2018-03-23T03:47:18Z","pushed_at":"2018-03-26T00:15:44Z","git_url":"git://github.com/wtg/shuttletracker.git","ssh_url":"git@github.com:wtg/shuttletracker.git","clone_url":"https://github.com/wtg/shuttletracker.git","svn_url":"https://github.com/wtg/shuttletracker","homepage":"https://shuttles.rpi.edu","size":5718,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":18,"open_issues":26,"watchers":5,"default_branch":"master"}},"base":{"label":"wtg:master","ref":"master","sha":"f439026741f26d3477420ed8df301f42781807ed","user":{"login":"wtg","id":142864,"avatar_url":"https://avatars2.githubusercontent.com/u/142864?v=4","gravatar_id":"","url":"https://api.github.com/users/wtg","html_url":"https://github.com/wtg","followers_url":"https://api.github.com/users/wtg/followers","following_url":"https://api.github.com/users/wtg/following{/other_user}","gists_url":"https://api.github.com/users/wtg/gists{/gist_id}","starred_url":"https://api.github.com/users/wtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtg/subscriptions","organizations_url":"https://api.github.com/users/wtg/orgs","repos_url":"https://api.github.com/users/wtg/repos","events_url":"https://api.github.com/users/wtg/events{/privacy}","received_events_url":"https://api.github.com/users/wtg/received_events","type":"Organization","site_admin":false},"repo":{"id":29942176,"name":"shuttletracker","full_name":"wtg/shuttletracker","owner":{"login":"wtg","id":142864,"avatar_url":"https://avatars2.githubusercontent.com/u/142864?v=4","gravatar_id":"","url":"https://api.github.com/users/wtg","html_url":"https://github.com/wtg","followers_url":"https://api.github.com/users/wtg/followers","following_url":"https://api.github.com/users/wtg/following{/other_user}","gists_url":"https://api.github.com/users/wtg/gists{/gist_id}","starred_url":"https://api.github.com/users/wtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtg/subscriptions","organizations_url":"https://api.github.com/users/wtg/orgs","repos_url":"https://api.github.com/users/wtg/repos","events_url":"https://api.github.com/users/wtg/events{/privacy}","received_events_url":"https://api.github.com/users/wtg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wtg/shuttletracker","description":"Shuttle tracking for RPI.","fork":false,"url":"https://api.github.com/repos/wtg/shuttletracker","forks_url":"https://api.github.com/repos/wtg/shuttletracker/forks","keys_url":"https://api.github.com/repos/wtg/shuttletracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wtg/shuttletracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wtg/shuttletracker/teams","hooks_url":"https://api.github.com/repos/wtg/shuttletracker/hooks","issue_events_url":"https://api.github.com/repos/wtg/shuttletracker/issues/events{/number}","events_url":"https://api.github.com/repos/wtg/shuttletracker/events","assignees_url":"https://api.github.com/repos/wtg/shuttletracker/assignees{/user}","branches_url":"https://api.github.com/repos/wtg/shuttletracker/branches{/branch}","tags_url":"https://api.github.com/repos/wtg/shuttletracker/tags","blobs_url":"https://api.github.com/repos/wtg/shuttletracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wtg/shuttletracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wtg/shuttletracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/wtg/shuttletracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wtg/shuttletracker/statuses/{sha}","languages_url":"https://api.github.com/repos/wtg/shuttletracker/languages","stargazers_url":"https://api.github.com/repos/wtg/shuttletracker/stargazers","contributors_url":"https://api.github.com/repos/wtg/shuttletracker/contributors","subscribers_url":"https://api.github.com/repos/wtg/shuttletracker/subscribers","subscription_url":"https://api.github.com/repos/wtg/shuttletracker/subscription","commits_url":"https://api.github.com/repos/wtg/shuttletracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/wtg/shuttletracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/wtg/shuttletracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/wtg/shuttletracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/wtg/shuttletracker/contents/{+path}","compare_url":"https://api.github.com/repos/wtg/shuttletracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wtg/shuttletracker/merges","archive_url":"https://api.github.com/repos/wtg/shuttletracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wtg/shuttletracker/downloads","issues_url":"https://api.github.com/repos/wtg/shuttletracker/issues{/number}","pulls_url":"https://api.github.com/repos/wtg/shuttletracker/pulls{/number}","milestones_url":"https://api.github.com/repos/wtg/shuttletracker/milestones{/number}","notifications_url":"https://api.github.com/repos/wtg/shuttletracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wtg/shuttletracker/labels{/name}","releases_url":"https://api.github.com/repos/wtg/shuttletracker/releases{/id}","deployments_url":"https://api.github.com/repos/wtg/shuttletracker/deployments","created_at":"2015-01-28T00:19:00Z","updated_at":"2018-03-23T03:47:18Z","pushed_at":"2018-03-26T00:15:44Z","git_url":"git://github.com/wtg/shuttletracker.git","ssh_url":"git@github.com:wtg/shuttletracker.git","clone_url":"https://github.com/wtg/shuttletracker.git","svn_url":"https://github.com/wtg/shuttletracker","homepage":"https://shuttles.rpi.edu","size":5718,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":18,"open_issues":26,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wtg/shuttletracker/pulls/136"},"html":{"href":"https://github.com/wtg/shuttletracker/pull/136"},"issue":{"href":"https://api.github.com/repos/wtg/shuttletracker/issues/136"},"comments":{"href":"https://api.github.com/repos/wtg/shuttletracker/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/wtg/shuttletracker/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/wtg/shuttletracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wtg/shuttletracker/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/wtg/shuttletracker/statuses/0c2eab948a9d670d3c9d9d7b7cc8696944b71ac6"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kochman"}}