Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Log the body

Acho Arnold6e38e05dfe4f
diff --git a/api/pkg/services/integration_3cx_service.go b/api/pkg/services/integration_3cx_service.go
index ddb0b349..d6366bf3 100644
--- a/api/pkg/services/integration_3cx_service.go
+++ b/api/pkg/services/integration_3cx_service.go
@@ -105,12 +105,13 @@ func (service *Integration3CXService) sendNotification(ctx context.Context, even
ctxLogger.Info(
fmt.Sprintf(
- "sent [3cx] webhook to url [%s] for event [%s] with ID [%s] and response [%s] and code [%d]",
+ "sent [3cx] webhook to url [%s] for event [%s] with ID [%s] and response [%s] and code [%d] and payload [%s]",
integration.WebhookURL,
event.Type(),
event.ID(),
response.Status,
response.StatusCode,
+ string(body),
),
)
}