From 2595ee8295108197b3d8db0e7fbbee331b8a45a0 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 25 Oct 2025 14:31:33 -0700 Subject: [PATCH] fix(util): Fixing problem with updateUser.js script --- util/users/updateUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/users/updateUser.js b/util/users/updateUser.js index 3ad2108..28fa83d 100644 --- a/util/users/updateUser.js +++ b/util/users/updateUser.js @@ -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')