Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

fix: convert forwardemail webhook truthsource property to string (#2869)

Shaun60060489ae5b
diff --git a/internal/bounce/webhooks/forwardemail.go b/internal/bounce/webhooks/forwardemail.go
index 5603ed88..e08c5e96 100644
--- a/internal/bounce/webhooks/forwardemail.go
+++ b/internal/bounce/webhooks/forwardemail.go
@@ -31,7 +31,7 @@ type forwardemailNotif struct {
Message string `json:"message"`
Response string `json:"response"`
ResponseCode int `json:"response_code"`
- TruthSource bool `json:"truth_source"`
+ TruthSource string `json:"truth_source"`
Headers map[string]string `json:"headers"`
Bounce BounceDetails `json:"bounce"`
BouncedAt time.Time `json:"bounced_at"`