summaryrefslogtreecommitdiff
path: root/server/controllers/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/users.js')
-rw-r--r--server/controllers/users.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/controllers/users.js b/server/controllers/users.js
index 0d2088b..12d98a4 100644
--- a/server/controllers/users.js
+++ b/server/controllers/users.js
@@ -121,7 +121,10 @@ const deleteUser = async (req, res) => {
const getUpdatingUsers = async (req, res) => {
try {
- const updatingUsers = await UserDetails.find({isUpdating: true});
+ const updatingUsers = await UserDetails.find({
+ isUpdating: true,
+ verified: true,
+ });
return res.status(200).json(updatingUsers);
} catch (error) {
res.status(404).json({message: error.message});