Skip to content

Leonardo Lodi#131

Open
LeonardoSaraceli wants to merge 11 commits intoboolean-uk:emptyfrom
LeonardoSaraceli:empty
Open

Leonardo Lodi#131
LeonardoSaraceli wants to merge 11 commits intoboolean-uk:emptyfrom
LeonardoSaraceli:empty

Conversation

@LeonardoSaraceli
Copy link

No description provided.

} from "../domain/user.js"

const getAllUsers = async (req, res) => {
const users = await getAllUsersDb()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const users = await getAllUsersDb().map(u => {
  delete u.password
  return u
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants