Hotfix et Modèle (backend) complet d'une fonction
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user