Revert "Rename config keys for IFTTT and Integromat"

This reverts commit 9a46b63299.
This commit is contained in:
Oliver Davies 2021-02-25 12:15:43 +00:00
parent 9a46b63299
commit a80de5c738
4 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@ opdavies_blog.settings:
type: config_object
label: 'Blog module configuration'
mapping:
integromat.webhook_url:
integromat_webhook_url:
type: string
ifttt.webhook_url:
post_tweet_webhook_url:
type: string

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('ifttt.webhook_url');
->get('post_tweet_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.');