Fix jwt-token
This commit is contained in:
@@ -125,6 +125,22 @@ async function seedDatabase() {
|
||||
cooldown_period: 300, // 5 minutes between alerts
|
||||
min_detections: 1,
|
||||
time_window: 60 // 1 minute window
|
||||
},
|
||||
{
|
||||
user_id: adminUser.id,
|
||||
name: 'Orlan Military Drone Detection Alert',
|
||||
description: 'Emergency alert for any Orlan military drone detection regardless of location',
|
||||
is_active: true,
|
||||
device_ids: [], // All devices
|
||||
drone_types: [1], // Only Orlan drones (type 1)
|
||||
min_rssi: -100, // Any RSSI level
|
||||
priority: 'critical',
|
||||
min_threat_level: null, // No minimum threat level (will trigger on any Orlan)
|
||||
alert_channels: ['sms'],
|
||||
sms_phone_number: '0736419592', // Emergency contact
|
||||
cooldown_period: 60, // Short cooldown for critical threats
|
||||
min_detections: 1,
|
||||
time_window: 30 // Short time window for immediate response
|
||||
}
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user