{"action":"closed","issue":{"url":"https://api.github.com/repos/mujuni88/sportsscheduler/issues/73","labels_url":"https://api.github.com/repos/mujuni88/sportsscheduler/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/mujuni88/sportsscheduler/issues/73/comments","events_url":"https://api.github.com/repos/mujuni88/sportsscheduler/issues/73/events","html_url":"https://github.com/mujuni88/sportsscheduler/issues/73","id":90762837,"number":73,"title":"Undefined solution","user":{"login":"mujuni88","id":1252222,"avatar_url":"https://avatars.githubusercontent.com/u/1252222?v=3","gravatar_id":"","url":"https://api.github.com/users/mujuni88","html_url":"https://github.com/mujuni88","followers_url":"https://api.github.com/users/mujuni88/followers","following_url":"https://api.github.com/users/mujuni88/following{/other_user}","gists_url":"https://api.github.com/users/mujuni88/gists{/gist_id}","starred_url":"https://api.github.com/users/mujuni88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mujuni88/subscriptions","organizations_url":"https://api.github.com/users/mujuni88/orgs","repos_url":"https://api.github.com/users/mujuni88/repos","events_url":"https://api.github.com/users/mujuni88/events{/privacy}","received_events_url":"https://api.github.com/users/mujuni88/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mujuni88/sportsscheduler/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mujuni88/sportsscheduler/labels/Priority:High","name":"Priority:High","color":"e11d21"},{"url":"https://api.github.com/repos/mujuni88/sportsscheduler/labels/server","name":"server","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"tqg5","id":272659,"avatar_url":"https://avatars.githubusercontent.com/u/272659?v=3","gravatar_id":"","url":"https://api.github.com/users/tqg5","html_url":"https://github.com/tqg5","followers_url":"https://api.github.com/users/tqg5/followers","following_url":"https://api.github.com/users/tqg5/following{/other_user}","gists_url":"https://api.github.com/users/tqg5/gists{/gist_id}","starred_url":"https://api.github.com/users/tqg5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqg5/subscriptions","organizations_url":"https://api.github.com/users/tqg5/orgs","repos_url":"https://api.github.com/users/tqg5/repos","events_url":"https://api.github.com/users/tqg5/events{/privacy}","received_events_url":"https://api.github.com/users/tqg5/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mujuni88/sportsscheduler/milestones/3","html_url":"https://github.com/mujuni88/sportsscheduler/milestones/Events%20Functionalities","labels_url":"https://api.github.com/repos/mujuni88/sportsscheduler/milestones/3/labels","id":1068767,"number":3,"title":"Events Functionalities","description":"","creator":{"login":"mujuni88","id":1252222,"avatar_url":"https://avatars.githubusercontent.com/u/1252222?v=3","gravatar_id":"","url":"https://api.github.com/users/mujuni88","html_url":"https://github.com/mujuni88","followers_url":"https://api.github.com/users/mujuni88/followers","following_url":"https://api.github.com/users/mujuni88/following{/other_user}","gists_url":"https://api.github.com/users/mujuni88/gists{/gist_id}","starred_url":"https://api.github.com/users/mujuni88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mujuni88/subscriptions","organizations_url":"https://api.github.com/users/mujuni88/orgs","repos_url":"https://api.github.com/users/mujuni88/repos","events_url":"https://api.github.com/users/mujuni88/events{/privacy}","received_events_url":"https://api.github.com/users/mujuni88/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":33,"state":"open","created_at":"2015-04-15T14:03:42Z","updated_at":"2015-06-24T19:40:18Z","due_on":"2015-07-31T05:00:00Z","closed_at":null},"comments":0,"created_at":"2015-06-24T19:22:16Z","updated_at":"2015-06-24T19:40:18Z","closed_at":"2015-06-24T19:40:18Z","body":"When GET http://localhost:3000/api/users/55846f876c1655cf0aec1e13\", I get the below json. It's missing firstName and lastName. \r\n\r\n{  \r\n   \"_id\":\"55846f876c1655cf0aec1e13\",\r\n   \"displayName\":\"BBuza Buza\",\r\n   \"username\":\"bbuza\",\r\n   \"preferences\":{  \r\n      \"receiveEmails\":true,\r\n      \"receiveTexts\":false\r\n   },\r\n   \"joinedGroups\":[  \r\n\r\n   ],\r\n   \"createdGroups\":[  \r\n      {  \r\n         \"_id\":\"55846fbe6c1655cf0aec1e14\",\r\n         \"createdBy\":\"55846f876c1655cf0aec1e13\",\r\n         \"name\":\"BGroup1\",\r\n         \"members\":[  \r\n            \"55846f876c1655cf0aec1e13\"\r\n         ],\r\n         \"events\":[  \r\n            \"55846fd26c1655cf0aec1e15\"\r\n         ],\r\n         \"admins\":[  \r\n            \"55846f876c1655cf0aec1e13\"\r\n         ]\r\n      }\r\n   ],\r\n   \"email\":\"joe_buza@me.com\"\r\n}\r\n\r\n\r\n\r\nEvery user object needs to return the following inorder to avoid this issue for good. Except plainTextPassword and version(_v):\r\n\r\n{  \r\n   \"_id\":\"55846f876c1655cf0aec1e13\",\r\n   \"displayName\":\"BBuza Buza\",\r\n   \"provider\":\"local\",\r\n   \"firstName\":\"BBuza\",\r\n   \"lastName\":\"Buza\",\r\n   \"username\":\"bbuza\",\r\n   \"__v\":1,\r\n   \"preferences\":{  \r\n      \"receiveEmails\":true,\r\n      \"receiveTexts\":false\r\n   },\r\n   \"created\":\"2015-06-19T19:37:43.865Z\",\r\n   \"updated\":\"2015-06-19T19:37:43.865Z\",\r\n   \"roles\":[  \r\n      \"user\"\r\n   ],\r\n   \"addedBy\":[  \r\n\r\n   ],\r\n   \"joinedGroups\":[  \r\n\r\n   ],\r\n   \"createdGroups\":[  \r\n      \"55846fbe6c1655cf0aec1e14\"\r\n   ],\r\n   \"plainTextPassword\":\"Password1\",\r\n   \"phoneNumber\":7692307747,\r\n   \"carrier\":\"@cspire1.com\",\r\n   \"email\":\"joe_buza@me.com\"\r\n}"}}