Rename config keys for IFTTT and Integromat

This commit is contained in:
Oliver Davies 2021-02-25 10:06:35 +00:00
parent e50a91dc30
commit 9a46b63299
4 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ final class IftttPostPusher extends WebhookPostPusher {
public function push(Post $post): void {
$url = $this->configFactory
->get('opdavies_blog.settings')
->get('post_tweet_webhook_url');
->get('ifttt.webhook_url');
Assert::notNull($url, 'Cannot push the post if there is no URL.');

View file

@ -28,7 +28,7 @@ final class IntegromatPostPusher extends WebhookPostPusher {
public function push(Post $post): void {
$url = $this->configFactory
->get('opdavies_blog.settings')
->get('integromat_webhook_url');
->get('integromat.webhook_url');
Assert::notNull($url, 'Cannot push the post if there is no URL.');