diff --git a/api/webhook_manager.go b/api/webhook_manager.go index e8c230c..f8c72c2 100644 --- a/api/webhook_manager.go +++ b/api/webhook_manager.go @@ -62,7 +62,7 @@ func (whm *WebhookManager) sendWebhooks(request interface{}, r *http.Request) { ID uint `json:"id"` }{ID: app.ID} - payloadBytes, err = json.Marshal(request) + payloadBytes, err = json.Marshal(rawMap) if err != nil { whm.logger.Error("Failed to marshal payload", zap.Error(err)) return