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 Sriharsha Chintalapani
parent 03084f2422
commit 7700251a06

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;