Archived
🐛 getUserInfo : quotes isValidated: true
This commit is contained in:
1 parent
c687a153c3
commit
337868cf5f
1 file changed
+1
-1
@@ -265,7 +265,7 @@ exports.getUserInfo = async (req, res, next) => {
|
||||
}
|
||||
})
|
||||
const quotesArray = await Quotes.findAll({
|
||||
where: { userId: user.id },
|
||||
where: { userId: user.id, isValidated: 1 },
|
||||
attributes: {
|
||||
exclude: ['updatedAt', 'createdAt', 'isValidated', 'userId', 'id']
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user