Fix jwt-token

This commit is contained in:
2025-09-22 06:12:08 +02:00
parent 6914b79a5d
commit 0c17f431b6

View File

@@ -202,17 +202,7 @@ const setupDatabase = async () => {
tenant_id: defaultTenant.id,
name: 'Critical Security Threat',
description: 'Immediate alert for critical and high threats to government facilities',
conditions: {
min_rssi: -55,
drone_types: [0, 1, 2],
time_window: 300,
min_detections: 1
},
actions: {
alert_channels: ['sms', 'email'],
sms_phone_number: '+46701234567',
priority: 'high'
},
is_active: true,
device_ids: [],
drone_types: [0, 1, 2],
@@ -258,16 +248,7 @@ const setupDatabase = async () => {
tenant_id: defaultTenant.id,
name: 'Device Offline Alert',
description: 'Alert when security devices go offline',
conditions: {
device_ids: ['device-alpha-001', 'device-beta-002', 'device-gamma-003'],
time_window: 300,
min_detections: 1
},
actions: {
alert_channels: ['sms'],
sms_phone_number: '+46701234567',
priority: 'medium'
},
is_active: true,
device_ids: ['device-alpha-001', 'device-beta-002', 'device-gamma-003'],
drone_types: null,