diff --git a/server/routes/detections.js b/server/routes/detections.js index c00ddfc..2104a7d 100644 --- a/server/routes/detections.js +++ b/server/routes/detections.js @@ -160,7 +160,7 @@ router.get('/debug', authenticateToken, async (req, res) => { include: [{ model: Device, as: 'device', - attributes: ['id', 'name', 'location', 'geo_lat', 'geo_lon'] + attributes: ['id', 'name', 'location_description', 'geo_lat', 'geo_lon'] }], limit: parseInt(limit), offset: offset,