fix: update to post to discord webhook route

This commit is contained in:
Jet 2026-03-17 04:15:20 -07:00
parent 9ecac57275
commit e225ffe997
No known key found for this signature in database

View file

@ -100,7 +100,8 @@ in
let idx = toString (i - 1); in
''export NOISEBELL_CACHE_WEBHOOK_${idx}_URL="${wh.url}"'' +
lib.optionalString (wh.secretFile != null)
''\nexport NOISEBELL_CACHE_WEBHOOK_${idx}_SECRET="$(cat ${wh.secretFile})"''
''
export NOISEBELL_CACHE_WEBHOOK_${idx}_SECRET="$(cat ${wh.secretFile})"''
) cfg.outboundWebhooks;
in {
description = "Noisebell cache service";