mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Merge pull request #181 from Permissionless-Software-Foundation/ct-unstable
fix(util): Fixing problem with updateUser.js script
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user