Skip to content

Commit

Permalink
fix: fix error when loading webhook subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Nov 27, 2023
1 parent b223ea8 commit 7fab71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pdk/Webhook/Repository/PsWebhooksRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fab71c

Please sign in to comment.