Add callback URL for post-processing

This commit is contained in:
Mukhtar Akere
2025-08-27 13:02:43 +01:00
parent 267cc2d32b
commit 83058489b6
8 changed files with 80 additions and 94 deletions

View File

@@ -45,6 +45,8 @@ func getDiscordHeader(event string) string {
return "[Decypharr] Repair Completed, Awaiting action"
case "repair_complete":
return "[Decypharr] Repair Complete"
case "repair_cancelled":
return "[Decypharr] Repair Cancelled"
default:
// split the event string and capitalize the first letter of each word
evs := strings.Split(event, "_")