{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/NSVCJ/carpool/pulls/28","id":55860218,"html_url":"https://github.com/NSVCJ/carpool/pull/28","diff_url":"https://github.com/NSVCJ/carpool/pull/28.diff","patch_url":"https://github.com/NSVCJ/carpool/pull/28.patch","issue_url":"https://api.github.com/repos/NSVCJ/carpool/issues/28","number":28,"state":"closed","locked":false,"title":"(fix) fixes handling of data between event search/driver/rider components","user":{"login":"justanman","id":12095931,"avatar_url":"https://avatars.githubusercontent.com/u/12095931?v=3","gravatar_id":"","url":"https://api.github.com/users/justanman","html_url":"https://github.com/justanman","followers_url":"https://api.github.com/users/justanman/followers","following_url":"https://api.github.com/users/justanman/following{/other_user}","gists_url":"https://api.github.com/users/justanman/gists{/gist_id}","starred_url":"https://api.github.com/users/justanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justanman/subscriptions","organizations_url":"https://api.github.com/users/justanman/orgs","repos_url":"https://api.github.com/users/justanman/repos","events_url":"https://api.github.com/users/justanman/events{/privacy}","received_events_url":"https://api.github.com/users/justanman/received_events","type":"User","site_admin":false},"body":"database posting still not working, receiving this error:\r\n\r\n```\r\nTypeError: Cannot read property 'name' of undefined\r\n    at Object.module.exports.models.trips.post (/Users/j/Desktop/carpool/server/models/index.js:33:24)\r\n    at module.exports.trips.post (/Users/j/Desktop/carpool/server/controllers/index.js:28:20)\r\n    at Layer.handle [as handle_request] (/Users/j/Desktop/carpool/node_modules/express/lib/router/layer.js:95:5)\r\n    at next (/Users/j/Desktop/carpool/node_modules/express/lib/router/route.js:131:13)\r\n    at next (/Users/j/Desktop/carpool/node_modules/express/lib/router/route.js:125:14)\r\n    at Route.dispatch (/Users/j/Desktop/carpool/node_modules/express/lib/router/route.js:112:3)\r\n    at Layer.handle [as handle_request] (/Users/j/Desktop/carpool/node_modules/express/lib/router/layer.js:95:5)\r\n    at /Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:277:22\r\n    at Function.process_params (/Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:330:12)\r\n    at next (/Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:271:10)\r\n    at Function.handle (/Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:176:3)\r\n    at router (/Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:46:12)\r\n    at Layer.handle [as handle_request] (/Users/j/Desktop/carpool/node_modules/express/lib/router/layer.js:95:5)\r\n    at trim_prefix (/Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:312:13)\r\n    at /Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:280:7\r\n    at Function.process_params (/Users/j/Desktop/carpool/node_modules/express/lib/router/index.js:330:12)\r\n```","created_at":"2016-01-13T06:46:07Z","updated_at":"2016-01-13T15:26:29Z","closed_at":"2016-01-13T15:26:29Z","merged_at":"2016-01-13T15:26:29Z","merge_commit_sha":"4c237b7a50ec95f3b260101cba52cc3b6265b659","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NSVCJ/carpool/pulls/28/commits","review_comments_url":"https://api.github.com/repos/NSVCJ/carpool/pulls/28/comments","review_comment_url":"https://api.github.com/repos/NSVCJ/carpool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NSVCJ/carpool/issues/28/comments","statuses_url":"https://api.github.com/repos/NSVCJ/carpool/statuses/04ee7bfe64deaf41eaf8dcb1321f0cf7a490b97b","head":{"label":"justanman:featureReactRouter","ref":"featureReactRouter","sha":"04ee7bfe64deaf41eaf8dcb1321f0cf7a490b97b","user":{"login":"justanman","id":12095931,"avatar_url":"https://avatars.githubusercontent.com/u/12095931?v=3","gravatar_id":"","url":"https://api.github.com/users/justanman","html_url":"https://github.com/justanman","followers_url":"https://api.github.com/users/justanman/followers","following_url":"https://api.github.com/users/justanman/following{/other_user}","gists_url":"https://api.github.com/users/justanman/gists{/gist_id}","starred_url":"https://api.github.com/users/justanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justanman/subscriptions","organizations_url":"https://api.github.com/users/justanman/orgs","repos_url":"https://api.github.com/users/justanman/repos","events_url":"https://api.github.com/users/justanman/events{/privacy}","received_events_url":"https://api.github.com/users/justanman/received_events","type":"User","site_admin":false},"repo":{"id":49333683,"name":"carpool","full_name":"justanman/carpool","owner":{"login":"justanman","id":12095931,"avatar_url":"https://avatars.githubusercontent.com/u/12095931?v=3","gravatar_id":"","url":"https://api.github.com/users/justanman","html_url":"https://github.com/justanman","followers_url":"https://api.github.com/users/justanman/followers","following_url":"https://api.github.com/users/justanman/following{/other_user}","gists_url":"https://api.github.com/users/justanman/gists{/gist_id}","starred_url":"https://api.github.com/users/justanman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justanman/subscriptions","organizations_url":"https://api.github.com/users/justanman/orgs","repos_url":"https://api.github.com/users/justanman/repos","events_url":"https://api.github.com/users/justanman/events{/privacy}","received_events_url":"https://api.github.com/users/justanman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justanman/carpool","description":"Find people in your area who are going to the big game! Pictures of plants while you wait.","fork":true,"url":"https://api.github.com/repos/justanman/carpool","forks_url":"https://api.github.com/repos/justanman/carpool/forks","keys_url":"https://api.github.com/repos/justanman/carpool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justanman/carpool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justanman/carpool/teams","hooks_url":"https://api.github.com/repos/justanman/carpool/hooks","issue_events_url":"https://api.github.com/repos/justanman/carpool/issues/events{/number}","events_url":"https://api.github.com/repos/justanman/carpool/events","assignees_url":"https://api.github.com/repos/justanman/carpool/assignees{/user}","branches_url":"https://api.github.com/repos/justanman/carpool/branches{/branch}","tags_url":"https://api.github.com/repos/justanman/carpool/tags","blobs_url":"https://api.github.com/repos/justanman/carpool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justanman/carpool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justanman/carpool/git/refs{/sha}","trees_url":"https://api.github.com/repos/justanman/carpool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justanman/carpool/statuses/{sha}","languages_url":"https://api.github.com/repos/justanman/carpool/languages","stargazers_url":"https://api.github.com/repos/justanman/carpool/stargazers","contributors_url":"https://api.github.com/repos/justanman/carpool/contributors","subscribers_url":"https://api.github.com/repos/justanman/carpool/subscribers","subscription_url":"https://api.github.com/repos/justanman/carpool/subscription","commits_url":"https://api.github.com/repos/justanman/carpool/commits{/sha}","git_commits_url":"https://api.github.com/repos/justanman/carpool/git/commits{/sha}","comments_url":"https://api.github.com/repos/justanman/carpool/comments{/number}","issue_comment_url":"https://api.github.com/repos/justanman/carpool/issues/comments{/number}","contents_url":"https://api.github.com/repos/justanman/carpool/contents/{+path}","compare_url":"https://api.github.com/repos/justanman/carpool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justanman/carpool/merges","archive_url":"https://api.github.com/repos/justanman/carpool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justanman/carpool/downloads","issues_url":"https://api.github.com/repos/justanman/carpool/issues{/number}","pulls_url":"https://api.github.com/repos/justanman/carpool/pulls{/number}","milestones_url":"https://api.github.com/repos/justanman/carpool/milestones{/number}","notifications_url":"https://api.github.com/repos/justanman/carpool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justanman/carpool/labels{/name}","releases_url":"https://api.github.com/repos/justanman/carpool/releases{/id}","created_at":"2016-01-09T17:19:20Z","updated_at":"2016-01-09T01:28:13Z","pushed_at":"2016-01-13T06:41:59Z","git_url":"git://github.com/justanman/carpool.git","ssh_url":"git@github.com:justanman/carpool.git","clone_url":"https://github.com/justanman/carpool.git","svn_url":"https://github.com/justanman/carpool","homepage":null,"size":443,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NSVCJ:dev","ref":"dev","sha":"7b3ca601be35cc1af1da29618cb2bebe78a92525","user":{"login":"NSVCJ","id":16616941,"avatar_url":"https://avatars.githubusercontent.com/u/16616941?v=3","gravatar_id":"","url":"https://api.github.com/users/NSVCJ","html_url":"https://github.com/NSVCJ","followers_url":"https://api.github.com/users/NSVCJ/followers","following_url":"https://api.github.com/users/NSVCJ/following{/other_user}","gists_url":"https://api.github.com/users/NSVCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/NSVCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSVCJ/subscriptions","organizations_url":"https://api.github.com/users/NSVCJ/orgs","repos_url":"https://api.github.com/users/NSVCJ/repos","events_url":"https://api.github.com/users/NSVCJ/events{/privacy}","received_events_url":"https://api.github.com/users/NSVCJ/received_events","type":"Organization","site_admin":false},"repo":{"id":49305892,"name":"carpool","full_name":"NSVCJ/carpool","owner":{"login":"NSVCJ","id":16616941,"avatar_url":"https://avatars.githubusercontent.com/u/16616941?v=3","gravatar_id":"","url":"https://api.github.com/users/NSVCJ","html_url":"https://github.com/NSVCJ","followers_url":"https://api.github.com/users/NSVCJ/followers","following_url":"https://api.github.com/users/NSVCJ/following{/other_user}","gists_url":"https://api.github.com/users/NSVCJ/gists{/gist_id}","starred_url":"https://api.github.com/users/NSVCJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSVCJ/subscriptions","organizations_url":"https://api.github.com/users/NSVCJ/orgs","repos_url":"https://api.github.com/users/NSVCJ/repos","events_url":"https://api.github.com/users/NSVCJ/events{/privacy}","received_events_url":"https://api.github.com/users/NSVCJ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NSVCJ/carpool","description":"Find people in your area who are going to the big game! Pictures of plants while you wait.","fork":false,"url":"https://api.github.com/repos/NSVCJ/carpool","forks_url":"https://api.github.com/repos/NSVCJ/carpool/forks","keys_url":"https://api.github.com/repos/NSVCJ/carpool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NSVCJ/carpool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NSVCJ/carpool/teams","hooks_url":"https://api.github.com/repos/NSVCJ/carpool/hooks","issue_events_url":"https://api.github.com/repos/NSVCJ/carpool/issues/events{/number}","events_url":"https://api.github.com/repos/NSVCJ/carpool/events","assignees_url":"https://api.github.com/repos/NSVCJ/carpool/assignees{/user}","branches_url":"https://api.github.com/repos/NSVCJ/carpool/branches{/branch}","tags_url":"https://api.github.com/repos/NSVCJ/carpool/tags","blobs_url":"https://api.github.com/repos/NSVCJ/carpool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NSVCJ/carpool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NSVCJ/carpool/git/refs{/sha}","trees_url":"https://api.github.com/repos/NSVCJ/carpool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NSVCJ/carpool/statuses/{sha}","languages_url":"https://api.github.com/repos/NSVCJ/carpool/languages","stargazers_url":"https://api.github.com/repos/NSVCJ/carpool/stargazers","contributors_url":"https://api.github.com/repos/NSVCJ/carpool/contributors","subscribers_url":"https://api.github.com/repos/NSVCJ/carpool/subscribers","subscription_url":"https://api.github.com/repos/NSVCJ/carpool/subscription","commits_url":"https://api.github.com/repos/NSVCJ/carpool/commits{/sha}","git_commits_url":"https://api.github.com/repos/NSVCJ/carpool/git/commits{/sha}","comments_url":"https://api.github.com/repos/NSVCJ/carpool/comments{/number}","issue_comment_url":"https://api.github.com/repos/NSVCJ/carpool/issues/comments{/number}","contents_url":"https://api.github.com/repos/NSVCJ/carpool/contents/{+path}","compare_url":"https://api.github.com/repos/NSVCJ/carpool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NSVCJ/carpool/merges","archive_url":"https://api.github.com/repos/NSVCJ/carpool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NSVCJ/carpool/downloads","issues_url":"https://api.github.com/repos/NSVCJ/carpool/issues{/number}","pulls_url":"https://api.github.com/repos/NSVCJ/carpool/pulls{/number}","milestones_url":"https://api.github.com/repos/NSVCJ/carpool/milestones{/number}","notifications_url":"https://api.github.com/repos/NSVCJ/carpool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NSVCJ/carpool/labels{/name}","releases_url":"https://api.github.com/repos/NSVCJ/carpool/releases{/id}","created_at":"2016-01-09T01:28:13Z","updated_at":"2016-01-10T01:51:30Z","pushed_at":"2016-01-13T15:26:29Z","git_url":"git://github.com/NSVCJ/carpool.git","ssh_url":"git@github.com:NSVCJ/carpool.git","clone_url":"https://github.com/NSVCJ/carpool.git","svn_url":"https://github.com/NSVCJ/carpool","homepage":null,"size":222,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NSVCJ/carpool/pulls/28"},"html":{"href":"https://github.com/NSVCJ/carpool/pull/28"},"issue":{"href":"https://api.github.com/repos/NSVCJ/carpool/issues/28"},"comments":{"href":"https://api.github.com/repos/NSVCJ/carpool/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/NSVCJ/carpool/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/NSVCJ/carpool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NSVCJ/carpool/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/NSVCJ/carpool/statuses/04ee7bfe64deaf41eaf8dcb1321f0cf7a490b97b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shinyness","id":7132756,"avatar_url":"https://avatars.githubusercontent.com/u/7132756?v=3","gravatar_id":"","url":"https://api.github.com/users/shinyness","html_url":"https://github.com/shinyness","followers_url":"https://api.github.com/users/shinyness/followers","following_url":"https://api.github.com/users/shinyness/following{/other_user}","gists_url":"https://api.github.com/users/shinyness/gists{/gist_id}","starred_url":"https://api.github.com/users/shinyness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinyness/subscriptions","organizations_url":"https://api.github.com/users/shinyness/orgs","repos_url":"https://api.github.com/users/shinyness/repos","events_url":"https://api.github.com/users/shinyness/events{/privacy}","received_events_url":"https://api.github.com/users/shinyness/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":541,"deletions":306,"changed_files":2}}