Hotfix et Modèle (backend) complet d'une fonction

This commit is contained in:
Divlo
2020-03-23 14:42:26 +01:00
parent 9d9aed8bcf
commit 96f18ead42
7 changed files with 42 additions and 22 deletions

View File

@ -35,7 +35,10 @@ exports.getFunctions = (req, res, next) => {
},
include: [
{ model: Categories, attributes: ["name", "color"] }
]
],
attributes: {
exclude: ["updatedAt", "utilizationForm", "article", "isOnline"]
}
})
.then((result) => {
const { count, rows } = result;