avishaan / lightTribe

LightTribe Backend and Collaboration Doc
2 stars 0 forks source link

Link GET/v1/profiles/{userId} should return user image as in docs #88

Closed footnote closed 8 years ago

footnote commented 8 years ago

This the response that mentioned in Model Schema

{
  "_id": "54f44c5d26352b1b9755b12f",
  "user": {
    "username": "codeHatcher",
    "_id": "54f44c5d26352b1b9755b12f",
    "lastLogin": "2015-03-04T07:36:56.224Z",
    "userImage": {
      "url": "https://www.google.com/images/srpr/logo11w.png"
    }
  },
  "shortDescription": "My short description",
  "interests": "still in initial phase"
}

in the response body the user image object shown below isn't returned

    "userImage": {
      "url": "https://www.google.com/images/srpr/logo11w.png"
    }
avishaan commented 8 years ago

What's an example route of this occurring?

footnote commented 8 years ago

It works now