fix(util): Fixing problem with updateUser.js script

This commit is contained in:
Chris Troutner
2025-10-25 14:31:33 -07:00
parent 476fdcd0aa
commit 2595ee8295
+1 -1
View File
@@ -12,7 +12,7 @@ async function getUsers () {
)
// Find the user by email.
const user = await User.find({
const user = await User.findOne({
email: 'test@test.com'
}, '-password')