Fix jwt-token

This commit is contained in:
2025-08-18 06:14:28 +02:00
parent c8c1cd95dd
commit c0d1fff02f
3 changed files with 15 additions and 6 deletions

View File

@@ -89,6 +89,7 @@ async function seedDatabase() {
device_ids: [1], // Arlanda detector only
min_rssi: -85, // Alert on any detection
priority: 'critical',
min_threat_level: 'critical', // Only alert on critical threats
alert_channels: ['sms'],
sms_phone_number: '0736419592',
cooldown_period: 300, // 5 minutes between alerts
@@ -103,6 +104,7 @@ async function seedDatabase() {
device_ids: [2], // Muskö detector only
min_rssi: -85, // Alert on any detection
priority: 'critical',
min_threat_level: 'critical', // Only alert on critical threats
alert_channels: ['sms'],
sms_phone_number: '0739999999',
cooldown_period: 300, // 5 minutes between alerts
@@ -117,6 +119,7 @@ async function seedDatabase() {
device_ids: [3], // Royal Castle detector only
min_rssi: -85, // Alert on any detection
priority: 'critical',
min_threat_level: 'critical', // Only alert on critical threats
alert_channels: ['sms'],
sms_phone_number: '0739999999',
cooldown_period: 300, // 5 minutes between alerts