📦 NEW: randomQuote page personnalisée
This commit is contained in:
@ -14,6 +14,9 @@ module.exports = randomQuote = async ({ res, next }, _argsObject) => {
|
||||
attributes: {
|
||||
exclude: ["isValidated"]
|
||||
},
|
||||
where: {
|
||||
isValidated: 1,
|
||||
}
|
||||
});
|
||||
return res.status(200).json(quote);
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user