Repository for Global.health: a data science initiative to enable rapid sharing of trusted and open public health data to advance the response to infectious diseases.
The user object passed from the request (req) does not have
the _id field, but has id as string; use that instead of _id
for logging and updating the user document.
The user object passed from the request (req) does not have the _id field, but has id as string; use that instead of _id for logging and updating the user document.