From e06c09fbaf6fde97b426d32e929a96aea90c69d4 Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Mon, 1 Sep 2025 08:07:43 +0200 Subject: [PATCH] Fix jwt-token --- server/routes/detections.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,