From f6ff21e04e724de46719d7b9e27a96207d0f1ef4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 1 Jan 2021 22:34:59 +0000 Subject: [PATCH] Update form params to work with IFTTT References #332 --- .../blog/src/EventSubscriber/PushBlogPostToSocialMedia.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php b/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php index a50ac13..9684347 100644 --- a/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php +++ b/web/modules/custom/blog/src/EventSubscriber/PushBlogPostToSocialMedia.php @@ -59,7 +59,7 @@ final class PushBlogPostToSocialMedia implements EventSubscriberInterface { $this->client->post($url, [ 'form_params' => [ - 'message' => $entity->toTweet(), + 'value1' => $entity->toTweet(), ], ]);