Is your feature request related to a problem? Please describe.
Currently when users send a request to the POST /api/tables/_users/rows API, we are only extracting the username and the password fields for this request. Ideally, we need to accept some optional fields like email, age, dateOfBirth, and etc.
Describe the solution you'd like
We need to modify the registerUser middleware function at src/controllers/auth/user.js to extract and save the optional fields.
Is your feature request related to a problem? Please describe.
Currently when users send a request to the
POST /api/tables/_users/rows
API, we are only extracting theusername
and thepassword
fields for this request. Ideally, we need to accept some optional fields likeemail
,age
,dateOfBirth
, and etc.Describe the solution you'd like
We need to modify the![Screen Shot 2024-04-23 at 4 20 39 PM](https://github.com/thevahidal/soul/assets/70259638/cca936cd-cfb1-49c1-a417-1eb45ae8de79)
registerUser
middleware function atsrc/controllers/auth/user.js
to extract and save the optional fields.