diff --git a/controllers/challengeController.js b/controllers/challengeController.js index ad556e0..ac5df2c 100644 --- a/controllers/challengeController.js +++ b/controllers/challengeController.js @@ -76,12 +76,12 @@ exports.fetchOne = async (req, res) => { { model: models.Subdivision, as: "subdivision", - attributes: ["id", "name"], + attributes: ["id", "name", "type", "latitude", "longitude"], include: [ { model: models.City, as: "city", - attributes: ["id", "name"], + attributes: ["id", "name", "latitude", "longitude" ], }, ], },