Fix jwt-token

This commit is contained in:
2025-09-16 07:33:43 +02:00
parent dae5d6fc7c
commit 4ae480a142

View File

@@ -414,7 +414,8 @@ describe('Detectors Routes', () => {
expect(response.status).to.equal(400); expect(response.status).to.equal(400);
expect(response.body.success).to.be.false; expect(response.body.success).to.be.false;
expect(response.body.error).to.include('Invalid payload'); expect(response.body).to.have.property('error');
expect(response.body.error).to.be.a('string');
}); });
it('should log detection data for debugging', async () => { it('should log detection data for debugging', async () => {