id=null from the response using mongodb
Closed this issue · 2 comments
arjunsubedi-varosa commented
Maintainers' Note: This issue has been posted elsewhere:
Describe the bug
When i am getting the data from the use i am getting response with id=null.
[
{
"id": null,
"fullname": "Arjun Subedi",
"email": "arjunsubedi360@gmail.com",
"mobile": "9812345",
"gender": "Male",
"roleId": "637991fd8260e91928d9a7f8"
},
{
"id": null,
"fullname": "Arjun Subedi",
"email": "arjunsubedi360@gmail.com",
"mobile": "9862972729",
"gender": "Male",
"roleId": "637991fd8260e91928d9a7f8"
}
]
Logs
No response
Additional information
No response
Reproduction
achrinza commented
Hi @arjunsubedi-varosa, please provide the following to assist:
- A publicly-accessible reproduction sandbox
- A database schema / data setup script
- The steps to use the reproduction sandbox
arjunsubedi-varosa commented
This is resolve i had assign id as number but is should have been string. Thanks .