mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
Merge remote-tracking branch 'upstream/master' into ct-unstable
This commit is contained in:
@@ -12,7 +12,7 @@ async function getUsers () {
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Find the user by email.
|
// Find the user by email.
|
||||||
const user = await User.find({
|
const user = await User.findOne({
|
||||||
email: 'test@test.com'
|
email: 'test@test.com'
|
||||||
}, '-password')
|
}, '-password')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user