MINOR: Alert test message type (#21866)

* fix: align message with Content-Type for test webhook alert

* fix: align message with Content-Type for test webhook alert
This commit is contained in:
Teddy 2025-06-20 14:39:11 +02:00 committed by GitHub
parent d04c66c09d
commit 337ce90797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@ public class GenericPublisher implements Destination<ChangeEvent> {
private final Client client;
private final Webhook webhook;
private static final String TEST_MESSAGE_JSON =
"This is a test message from OpenMetadata to confirm your webhook destination is configured correctly.";
"{\"message\": \"This is a test message from OpenMetadata to confirm your webhook destination is configured correctly.\"}";
@Getter private final SubscriptionDestination subscriptionDestination;
private final EventSubscription eventSubscription;