From 3867d594b3ab49e47a5d12ff198fbd23b1868df8 Mon Sep 17 00:00:00 2001 From: Gowri <40108018+gowrizrh@users.noreply.github.com> Date: Fri, 12 Jul 2024 18:19:22 +0930 Subject: [PATCH] :recycle: add content-type header for http notifier (#28) --- Service/AsyncEvent/HttpNotifier.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Service/AsyncEvent/HttpNotifier.php b/Service/AsyncEvent/HttpNotifier.php index 8e9c3ad..a27f41a 100644 --- a/Service/AsyncEvent/HttpNotifier.php +++ b/Service/AsyncEvent/HttpNotifier.php @@ -48,7 +48,8 @@ public function notify(AsyncEventInterface $asyncEvent, CloudEventImmutable $eve self::HASHING_ALGORITHM, $body, $this->encryptor->decrypt($asyncEvent->getVerificationToken()) - ) + ), + 'content-type' => 'application/json' ]; $notifierResult = new NotifierResult();