Fix jwt-token
This commit is contained in:
@@ -826,7 +826,7 @@ class AlertService {
|
||||
|
||||
return await AlertLog.create({
|
||||
alert_rule_id: rule.id,
|
||||
detection_id: detection.id,
|
||||
detection_id: detection ? detection.id : null,
|
||||
alert_type: 'webhook',
|
||||
recipient: webhookUrl,
|
||||
message: JSON.stringify(payload),
|
||||
|
||||
Reference in New Issue
Block a user