phosmobile-technologies / credit-business-management-app-api

API for the springverse investment app.
0 stars 1 forks source link

Wrap Up Today 30th August #158

Open victorraji opened 4 years ago

victorraji commented 4 years ago

The following fields that were added to the UserModel on GetUserById query,

loansManagedByAdminStaff and userProfilesManagedByAdminStaff

are returning an empty array when I fetch with an admin user id input that I created a user with

query MyQuery {
  GetUserById(id: "8a5356c0-1368-4720-bb90-2822722cfa0e") {
    userProfilesManagedByAdminStaff {
      gender
      next_of_kin
    }
  }
}

returns

{
  "data": {
    "GetUserById": {
      "userProfilesManagedByAdminStaff": [],
      "__typename": "User"
    }
  },

@omadoyeabraham @davidubanyi

omadoyeabraham commented 4 years ago

This works

Screenshot 2020-08-31 at 14 05 16