{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/5","id":35369932,"html_url":"https://github.com/JSCRIPT300-Spring2015/Module_5/pull/5","diff_url":"https://github.com/JSCRIPT300-Spring2015/Module_5/pull/5.diff","patch_url":"https://github.com/JSCRIPT300-Spring2015/Module_5/pull/5.patch","issue_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues/5","number":5,"state":"closed","locked":false,"title":"Problem Adding Truck","user":{"login":"dianezev","id":10935174,"avatar_url":"https://avatars.githubusercontent.com/u/10935174?v=3","gravatar_id":"","url":"https://api.github.com/users/dianezev","html_url":"https://github.com/dianezev","followers_url":"https://api.github.com/users/dianezev/followers","following_url":"https://api.github.com/users/dianezev/following{/other_user}","gists_url":"https://api.github.com/users/dianezev/gists{/gist_id}","starred_url":"https://api.github.com/users/dianezev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianezev/subscriptions","organizations_url":"https://api.github.com/users/dianezev/orgs","repos_url":"https://api.github.com/users/dianezev/repos","events_url":"https://api.github.com/users/dianezev/events{/privacy}","received_events_url":"https://api.github.com/users/dianezev/received_events","type":"User","site_admin":false},"body":"Hi James, \r\n\r\n'Add Food Truck' is not working for me and I can't figure out why.  If I add new truck info in the UI & click 'Add Food Truck', I get 'undefined' at the bottom of the truck list.  Clicking on that gives me an empty object such as {\"_id\":\"5553b545f7d30fa41db53471\",\"__v\":0,\"payment\":[],\"schedule\":[],\"foodType\":[]}\r\n\r\nWhen I use Mongo to check the data, the empty object is there as well.\r\n\r\nAny suggestions are welcome!  (I've only worked on part 1 so far)\r\n\r\nThank you,\r\nDiane","created_at":"2015-05-13T20:57:56Z","updated_at":"2015-05-16T05:07:32Z","closed_at":"2015-05-16T05:07:32Z","merged_at":null,"merge_commit_sha":"379da554effffa99ea0310c4cab3657b0f948c6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/5/commits","review_comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/5/comments","review_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues/5/comments","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/statuses/da8039ac3d40d3cf09bbf2726473646bf28d1510","head":{"label":"dianezev:master","ref":"master","sha":"da8039ac3d40d3cf09bbf2726473646bf28d1510","user":{"login":"dianezev","id":10935174,"avatar_url":"https://avatars.githubusercontent.com/u/10935174?v=3","gravatar_id":"","url":"https://api.github.com/users/dianezev","html_url":"https://github.com/dianezev","followers_url":"https://api.github.com/users/dianezev/followers","following_url":"https://api.github.com/users/dianezev/following{/other_user}","gists_url":"https://api.github.com/users/dianezev/gists{/gist_id}","starred_url":"https://api.github.com/users/dianezev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianezev/subscriptions","organizations_url":"https://api.github.com/users/dianezev/orgs","repos_url":"https://api.github.com/users/dianezev/repos","events_url":"https://api.github.com/users/dianezev/events{/privacy}","received_events_url":"https://api.github.com/users/dianezev/received_events","type":"User","site_admin":false},"repo":{"id":35301603,"name":"Module_5","full_name":"dianezev/Module_5","owner":{"login":"dianezev","id":10935174,"avatar_url":"https://avatars.githubusercontent.com/u/10935174?v=3","gravatar_id":"","url":"https://api.github.com/users/dianezev","html_url":"https://github.com/dianezev","followers_url":"https://api.github.com/users/dianezev/followers","following_url":"https://api.github.com/users/dianezev/following{/other_user}","gists_url":"https://api.github.com/users/dianezev/gists{/gist_id}","starred_url":"https://api.github.com/users/dianezev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianezev/subscriptions","organizations_url":"https://api.github.com/users/dianezev/orgs","repos_url":"https://api.github.com/users/dianezev/repos","events_url":"https://api.github.com/users/dianezev/events{/privacy}","received_events_url":"https://api.github.com/users/dianezev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dianezev/Module_5","description":"Module_5 assignment repository","fork":true,"url":"https://api.github.com/repos/dianezev/Module_5","forks_url":"https://api.github.com/repos/dianezev/Module_5/forks","keys_url":"https://api.github.com/repos/dianezev/Module_5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dianezev/Module_5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dianezev/Module_5/teams","hooks_url":"https://api.github.com/repos/dianezev/Module_5/hooks","issue_events_url":"https://api.github.com/repos/dianezev/Module_5/issues/events{/number}","events_url":"https://api.github.com/repos/dianezev/Module_5/events","assignees_url":"https://api.github.com/repos/dianezev/Module_5/assignees{/user}","branches_url":"https://api.github.com/repos/dianezev/Module_5/branches{/branch}","tags_url":"https://api.github.com/repos/dianezev/Module_5/tags","blobs_url":"https://api.github.com/repos/dianezev/Module_5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dianezev/Module_5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dianezev/Module_5/git/refs{/sha}","trees_url":"https://api.github.com/repos/dianezev/Module_5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dianezev/Module_5/statuses/{sha}","languages_url":"https://api.github.com/repos/dianezev/Module_5/languages","stargazers_url":"https://api.github.com/repos/dianezev/Module_5/stargazers","contributors_url":"https://api.github.com/repos/dianezev/Module_5/contributors","subscribers_url":"https://api.github.com/repos/dianezev/Module_5/subscribers","subscription_url":"https://api.github.com/repos/dianezev/Module_5/subscription","commits_url":"https://api.github.com/repos/dianezev/Module_5/commits{/sha}","git_commits_url":"https://api.github.com/repos/dianezev/Module_5/git/commits{/sha}","comments_url":"https://api.github.com/repos/dianezev/Module_5/comments{/number}","issue_comment_url":"https://api.github.com/repos/dianezev/Module_5/issues/comments{/number}","contents_url":"https://api.github.com/repos/dianezev/Module_5/contents/{+path}","compare_url":"https://api.github.com/repos/dianezev/Module_5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dianezev/Module_5/merges","archive_url":"https://api.github.com/repos/dianezev/Module_5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dianezev/Module_5/downloads","issues_url":"https://api.github.com/repos/dianezev/Module_5/issues{/number}","pulls_url":"https://api.github.com/repos/dianezev/Module_5/pulls{/number}","milestones_url":"https://api.github.com/repos/dianezev/Module_5/milestones{/number}","notifications_url":"https://api.github.com/repos/dianezev/Module_5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dianezev/Module_5/labels{/name}","releases_url":"https://api.github.com/repos/dianezev/Module_5/releases{/id}","created_at":"2015-05-08T21:00:42Z","updated_at":"2015-05-08T21:00:43Z","pushed_at":"2015-05-15T04:25:38Z","git_url":"git://github.com/dianezev/Module_5.git","ssh_url":"git@github.com:dianezev/Module_5.git","clone_url":"https://github.com/dianezev/Module_5.git","svn_url":"https://github.com/dianezev/Module_5","homepage":null,"size":95,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"JSCRIPT300-Spring2015:master","ref":"master","sha":"6f0d280fc8760d2516de6cc638cc6c35df091be5","user":{"login":"JSCRIPT300-Spring2015","id":11728112,"avatar_url":"https://avatars.githubusercontent.com/u/11728112?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2015","html_url":"https://github.com/JSCRIPT300-Spring2015","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2015/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2015/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2015/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2015/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2015/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2015/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/received_events","type":"Organization","site_admin":false},"repo":{"id":35251866,"name":"Module_5","full_name":"JSCRIPT300-Spring2015/Module_5","owner":{"login":"JSCRIPT300-Spring2015","id":11728112,"avatar_url":"https://avatars.githubusercontent.com/u/11728112?v=3","gravatar_id":"","url":"https://api.github.com/users/JSCRIPT300-Spring2015","html_url":"https://github.com/JSCRIPT300-Spring2015","followers_url":"https://api.github.com/users/JSCRIPT300-Spring2015/followers","following_url":"https://api.github.com/users/JSCRIPT300-Spring2015/following{/other_user}","gists_url":"https://api.github.com/users/JSCRIPT300-Spring2015/gists{/gist_id}","starred_url":"https://api.github.com/users/JSCRIPT300-Spring2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSCRIPT300-Spring2015/subscriptions","organizations_url":"https://api.github.com/users/JSCRIPT300-Spring2015/orgs","repos_url":"https://api.github.com/users/JSCRIPT300-Spring2015/repos","events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/events{/privacy}","received_events_url":"https://api.github.com/users/JSCRIPT300-Spring2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JSCRIPT300-Spring2015/Module_5","description":"Module_5 assignment repository","fork":false,"url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5","forks_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/forks","keys_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/teams","hooks_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/hooks","issue_events_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues/events{/number}","events_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/events","assignees_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/assignees{/user}","branches_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/branches{/branch}","tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/tags","blobs_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/statuses/{sha}","languages_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/languages","stargazers_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/stargazers","contributors_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/contributors","subscribers_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/subscribers","subscription_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/subscription","commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/contents/{+path}","compare_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/merges","archive_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/downloads","issues_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues{/number}","pulls_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls{/number}","milestones_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/milestones{/number}","notifications_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/labels{/name}","releases_url":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/releases{/id}","created_at":"2015-05-08T01:23:00Z","updated_at":"2015-05-08T07:30:48Z","pushed_at":"2015-05-15T06:38:28Z","git_url":"git://github.com/JSCRIPT300-Spring2015/Module_5.git","ssh_url":"git@github.com:JSCRIPT300-Spring2015/Module_5.git","clone_url":"https://github.com/JSCRIPT300-Spring2015/Module_5.git","svn_url":"https://github.com/JSCRIPT300-Spring2015/Module_5","homepage":null,"size":785,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":7,"forks":18,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/5"},"html":{"href":"https://github.com/JSCRIPT300-Spring2015/Module_5/pull/5"},"issue":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues/5"},"comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/JSCRIPT300-Spring2015/Module_5/statuses/da8039ac3d40d3cf09bbf2726473646bf28d1510"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":3,"commits":2,"additions":139,"deletions":16,"changed_files":6}}