globaldothealth / list

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.
MIT License
39 stars 8 forks source link

curator/api: use user.id in logging #2916

Closed abhidg closed 1 year ago

abhidg commented 1 year ago

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.