From 7fab71c716a615bf0a7794236a7928ecc5c38fa4 Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Mon, 27 Nov 2023 10:37:27 +0100 Subject: [PATCH] fix: fix error when loading webhook subscriptions --- src/Pdk/Webhook/Repository/PsWebhooksRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pdk/Webhook/Repository/PsWebhooksRepository.php b/src/Pdk/Webhook/Repository/PsWebhooksRepository.php index bc00a7ed..3b3ad00c 100644 --- a/src/Pdk/Webhook/Repository/PsWebhooksRepository.php +++ b/src/Pdk/Webhook/Repository/PsWebhooksRepository.php @@ -35,7 +35,7 @@ public function getAll(): WebhookSubscriptionCollection public function getHashedUrl(): ?string { - return $this->configurationService->get(Pdk::get('settingKeyWebhookHash')); + return $this->configurationService->get(Pdk::get('settingKeyWebhookHash')) ?: null; } public function remove(string $hook): void