From f598067a11bd041a1abea3d3d3d71a713dded69b Mon Sep 17 00:00:00 2001 From: Alexander Borg Date: Wed, 17 Sep 2025 05:32:40 +0200 Subject: [PATCH] Fix jwt-token --- server/tests/routes/detectors.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests/routes/detectors.test.js b/server/tests/routes/detectors.test.js index 5efcc07..4290b38 100644 --- a/server/tests/routes/detectors.test.js +++ b/server/tests/routes/detectors.test.js @@ -416,7 +416,7 @@ describe('Detectors Routes', () => { expect(response.body.success).to.be.false; expect(response.body).to.have.property('message'); expect(response.body.message).to.be.a('string'); - expect(response.body).to.have.property('errors'); + expect(response.body).to.have.property('details'); }); it('should log detection data for debugging', async () => {