{"action":"created","comment":{"url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/comments/222179469","pull_request_review_id":161004350,"id":222179469,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjE3OTQ2OQ==","diff_hunk":"@@ -112,13 +117,12 @@ class FilterViewController: UIViewController {\n         classTypeInstructorDivider.backgroundColor = .fitnessLightGrey\n         contentView.addSubview(classTypeInstructorDivider)\n \n-        classTypeDropdownData = DropdownData(dropStatus: .up, titles: [], ids: [], completed: false)\n+        classTypeDropdownData = DropdownData(dropStatus: .up, titles: [], completed: false)\n \n-        AppDelegate.networkManager.getGymClassDescriptions { (gymClassDescriptions) in\n+        AppDelegate.networkManager.getClassNames { (classNames) in\n \n-            for gymClassDescription in gymClassDescriptions {\n-                self.classTypeDropdownData.titles.append(gymClassDescription.name)\n-                self.classTypeDropdownData.ids.append(gymClassDescription.id)\n+            for className in classNames {\n+                self.classTypeDropdownData.titles.append(className)","path":"Fitness/Controllers/FilterViewController.swift","position":57,"original_position":57,"commit_id":"59f09b520ed40e9084ba592a3223ba2ebbba27fb","original_commit_id":"59f09b520ed40e9084ba592a3223ba2ebbba27fb","user":{"login":"kevinchan159","id":26048121,"node_id":"MDQ6VXNlcjI2MDQ4MTIx","avatar_url":"https://avatars2.githubusercontent.com/u/26048121?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinchan159","html_url":"https://github.com/kevinchan159","followers_url":"https://api.github.com/users/kevinchan159/followers","following_url":"https://api.github.com/users/kevinchan159/following{/other_user}","gists_url":"https://api.github.com/users/kevinchan159/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinchan159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinchan159/subscriptions","organizations_url":"https://api.github.com/users/kevinchan159/orgs","repos_url":"https://api.github.com/users/kevinchan159/repos","events_url":"https://api.github.com/users/kevinchan159/events{/privacy}","received_events_url":"https://api.github.com/users/kevinchan159/received_events","type":"User","site_admin":false},"body":"I think you can just do `self.classTypeDropdownData.titles.append(contentsOf:...)`","created_at":"2018-10-03T04:42:38Z","updated_at":"2018-10-03T04:45:11Z","html_url":"https://github.com/cuappdev/fitness-ios/pull/77#discussion_r222179469","pull_request_url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/comments/222179469"},"html":{"href":"https://github.com/cuappdev/fitness-ios/pull/77#discussion_r222179469"},"pull_request":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77","id":219912559,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTEyNTU5","html_url":"https://github.com/cuappdev/fitness-ios/pull/77","diff_url":"https://github.com/cuappdev/fitness-ios/pull/77.diff","patch_url":"https://github.com/cuappdev/fitness-ios/pull/77.patch","issue_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues/77","number":77,"state":"open","locked":false,"title":"Filter networking","user":{"login":"jmf373","id":35942769,"node_id":"MDQ6VXNlcjM1OTQyNzY5","avatar_url":"https://avatars3.githubusercontent.com/u/35942769?v=4","gravatar_id":"","url":"https://api.github.com/users/jmf373","html_url":"https://github.com/jmf373","followers_url":"https://api.github.com/users/jmf373/followers","following_url":"https://api.github.com/users/jmf373/following{/other_user}","gists_url":"https://api.github.com/users/jmf373/gists{/gist_id}","starred_url":"https://api.github.com/users/jmf373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmf373/subscriptions","organizations_url":"https://api.github.com/users/jmf373/orgs","repos_url":"https://api.github.com/users/jmf373/repos","events_url":"https://api.github.com/users/jmf373/events{/privacy}","received_events_url":"https://api.github.com/users/jmf373/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-03T04:33:58Z","updated_at":"2018-10-03T04:45:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34be9eed2120755ca8418b87431302d119ab338b","assignee":null,"assignees":[],"requested_reviewers":[{"login":"AAAstorga","id":15990084,"node_id":"MDQ6VXNlcjE1OTkwMDg0","avatar_url":"https://avatars1.githubusercontent.com/u/15990084?v=4","gravatar_id":"","url":"https://api.github.com/users/AAAstorga","html_url":"https://github.com/AAAstorga","followers_url":"https://api.github.com/users/AAAstorga/followers","following_url":"https://api.github.com/users/AAAstorga/following{/other_user}","gists_url":"https://api.github.com/users/AAAstorga/gists{/gist_id}","starred_url":"https://api.github.com/users/AAAstorga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AAAstorga/subscriptions","organizations_url":"https://api.github.com/users/AAAstorga/orgs","repos_url":"https://api.github.com/users/AAAstorga/repos","events_url":"https://api.github.com/users/AAAstorga/events{/privacy}","received_events_url":"https://api.github.com/users/AAAstorga/received_events","type":"User","site_admin":false},{"login":"yassinmziya","id":16483422,"node_id":"MDQ6VXNlcjE2NDgzNDIy","avatar_url":"https://avatars1.githubusercontent.com/u/16483422?v=4","gravatar_id":"","url":"https://api.github.com/users/yassinmziya","html_url":"https://github.com/yassinmziya","followers_url":"https://api.github.com/users/yassinmziya/followers","following_url":"https://api.github.com/users/yassinmziya/following{/other_user}","gists_url":"https://api.github.com/users/yassinmziya/gists{/gist_id}","starred_url":"https://api.github.com/users/yassinmziya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yassinmziya/subscriptions","organizations_url":"https://api.github.com/users/yassinmziya/orgs","repos_url":"https://api.github.com/users/yassinmziya/repos","events_url":"https://api.github.com/users/yassinmziya/events{/privacy}","received_events_url":"https://api.github.com/users/yassinmziya/received_events","type":"User","site_admin":false},{"login":"jhseung","id":25846525,"node_id":"MDQ6VXNlcjI1ODQ2NTI1","avatar_url":"https://avatars2.githubusercontent.com/u/25846525?v=4","gravatar_id":"","url":"https://api.github.com/users/jhseung","html_url":"https://github.com/jhseung","followers_url":"https://api.github.com/users/jhseung/followers","following_url":"https://api.github.com/users/jhseung/following{/other_user}","gists_url":"https://api.github.com/users/jhseung/gists{/gist_id}","starred_url":"https://api.github.com/users/jhseung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhseung/subscriptions","organizations_url":"https://api.github.com/users/jhseung/orgs","repos_url":"https://api.github.com/users/jhseung/repos","events_url":"https://api.github.com/users/jhseung/events{/privacy}","received_events_url":"https://api.github.com/users/jhseung/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77/commits","review_comments_url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77/comments","review_comment_url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues/77/comments","statuses_url":"https://api.github.com/repos/cuappdev/fitness-ios/statuses/59f09b520ed40e9084ba592a3223ba2ebbba27fb","head":{"label":"cuappdev:joe/filter-networking","ref":"joe/filter-networking","sha":"59f09b520ed40e9084ba592a3223ba2ebbba27fb","user":{"login":"cuappdev","id":17533691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NTMzNjkx","avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"repo":{"id":122778239,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI3NzgyMzk=","name":"fitness-ios","full_name":"cuappdev/fitness-ios","private":false,"owner":{"login":"cuappdev","id":17533691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NTMzNjkx","avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cuappdev/fitness-ios","description":"An open-source iOS app for Cornell Fitness Centers.","fork":false,"url":"https://api.github.com/repos/cuappdev/fitness-ios","forks_url":"https://api.github.com/repos/cuappdev/fitness-ios/forks","keys_url":"https://api.github.com/repos/cuappdev/fitness-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuappdev/fitness-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuappdev/fitness-ios/teams","hooks_url":"https://api.github.com/repos/cuappdev/fitness-ios/hooks","issue_events_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues/events{/number}","events_url":"https://api.github.com/repos/cuappdev/fitness-ios/events","assignees_url":"https://api.github.com/repos/cuappdev/fitness-ios/assignees{/user}","branches_url":"https://api.github.com/repos/cuappdev/fitness-ios/branches{/branch}","tags_url":"https://api.github.com/repos/cuappdev/fitness-ios/tags","blobs_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuappdev/fitness-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/cuappdev/fitness-ios/languages","stargazers_url":"https://api.github.com/repos/cuappdev/fitness-ios/stargazers","contributors_url":"https://api.github.com/repos/cuappdev/fitness-ios/contributors","subscribers_url":"https://api.github.com/repos/cuappdev/fitness-ios/subscribers","subscription_url":"https://api.github.com/repos/cuappdev/fitness-ios/subscription","commits_url":"https://api.github.com/repos/cuappdev/fitness-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuappdev/fitness-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuappdev/fitness-ios/contents/{+path}","compare_url":"https://api.github.com/repos/cuappdev/fitness-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuappdev/fitness-ios/merges","archive_url":"https://api.github.com/repos/cuappdev/fitness-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuappdev/fitness-ios/downloads","issues_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues{/number}","pulls_url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/cuappdev/fitness-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/cuappdev/fitness-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuappdev/fitness-ios/labels{/name}","releases_url":"https://api.github.com/repos/cuappdev/fitness-ios/releases{/id}","deployments_url":"https://api.github.com/repos/cuappdev/fitness-ios/deployments","created_at":"2018-02-24T20:45:00Z","updated_at":"2018-10-03T04:26:21Z","pushed_at":"2018-10-03T04:33:59Z","git_url":"git://github.com/cuappdev/fitness-ios.git","ssh_url":"git@github.com:cuappdev/fitness-ios.git","clone_url":"https://github.com/cuappdev/fitness-ios.git","svn_url":"https://github.com/cuappdev/fitness-ios","homepage":"","size":24713,"stargazers_count":7,"watchers_count":7,"language":"Swift","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":15,"license":null,"forks":0,"open_issues":15,"watchers":7,"default_branch":"master"}},"base":{"label":"cuappdev:master","ref":"master","sha":"b9b3ba7027ab3c3e2bcedb5884e607288884ae57","user":{"login":"cuappdev","id":17533691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NTMzNjkx","avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"repo":{"id":122778239,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI3NzgyMzk=","name":"fitness-ios","full_name":"cuappdev/fitness-ios","private":false,"owner":{"login":"cuappdev","id":17533691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NTMzNjkx","avatar_url":"https://avatars0.githubusercontent.com/u/17533691?v=4","gravatar_id":"","url":"https://api.github.com/users/cuappdev","html_url":"https://github.com/cuappdev","followers_url":"https://api.github.com/users/cuappdev/followers","following_url":"https://api.github.com/users/cuappdev/following{/other_user}","gists_url":"https://api.github.com/users/cuappdev/gists{/gist_id}","starred_url":"https://api.github.com/users/cuappdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuappdev/subscriptions","organizations_url":"https://api.github.com/users/cuappdev/orgs","repos_url":"https://api.github.com/users/cuappdev/repos","events_url":"https://api.github.com/users/cuappdev/events{/privacy}","received_events_url":"https://api.github.com/users/cuappdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cuappdev/fitness-ios","description":"An open-source iOS app for Cornell Fitness Centers.","fork":false,"url":"https://api.github.com/repos/cuappdev/fitness-ios","forks_url":"https://api.github.com/repos/cuappdev/fitness-ios/forks","keys_url":"https://api.github.com/repos/cuappdev/fitness-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuappdev/fitness-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuappdev/fitness-ios/teams","hooks_url":"https://api.github.com/repos/cuappdev/fitness-ios/hooks","issue_events_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues/events{/number}","events_url":"https://api.github.com/repos/cuappdev/fitness-ios/events","assignees_url":"https://api.github.com/repos/cuappdev/fitness-ios/assignees{/user}","branches_url":"https://api.github.com/repos/cuappdev/fitness-ios/branches{/branch}","tags_url":"https://api.github.com/repos/cuappdev/fitness-ios/tags","blobs_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuappdev/fitness-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/cuappdev/fitness-ios/languages","stargazers_url":"https://api.github.com/repos/cuappdev/fitness-ios/stargazers","contributors_url":"https://api.github.com/repos/cuappdev/fitness-ios/contributors","subscribers_url":"https://api.github.com/repos/cuappdev/fitness-ios/subscribers","subscription_url":"https://api.github.com/repos/cuappdev/fitness-ios/subscription","commits_url":"https://api.github.com/repos/cuappdev/fitness-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuappdev/fitness-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuappdev/fitness-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuappdev/fitness-ios/contents/{+path}","compare_url":"https://api.github.com/repos/cuappdev/fitness-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuappdev/fitness-ios/merges","archive_url":"https://api.github.com/repos/cuappdev/fitness-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuappdev/fitness-ios/downloads","issues_url":"https://api.github.com/repos/cuappdev/fitness-ios/issues{/number}","pulls_url":"https://api.github.com/repos/cuappdev/fitness-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/cuappdev/fitness-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/cuappdev/fitness-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuappdev/fitness-ios/labels{/name}","releases_url":"https://api.github.com/repos/cuappdev/fitness-ios/releases{/id}","deployments_url":"https://api.github.com/repos/cuappdev/fitness-ios/deployments","created_at":"2018-02-24T20:45:00Z","updated_at":"2018-10-03T04:26:21Z","pushed_at":"2018-10-03T04:33:59Z","git_url":"git://github.com/cuappdev/fitness-ios.git","ssh_url":"git@github.com:cuappdev/fitness-ios.git","clone_url":"https://github.com/cuappdev/fitness-ios.git","svn_url":"https://github.com/cuappdev/fitness-ios","homepage":"","size":24713,"stargazers_count":7,"watchers_count":7,"language":"Swift","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":15,"license":null,"forks":0,"open_issues":15,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77"},"html":{"href":"https://github.com/cuappdev/fitness-ios/pull/77"},"issue":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/issues/77"},"comments":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/cuappdev/fitness-ios/statuses/59f09b520ed40e9084ba592a3223ba2ebbba27fb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kevinchan159"}}