Archived
📦 NEW: randomQuote page personnalisée
This commit is contained in:
1 parent
f2df72fe29
commit
43add978b6
14 files changed
+635
-34
No files matched your search
@@ -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