Ensure that the translated text is rendered

Fixes #334
This commit is contained in:
Oliver Davies 2021-01-04 22:01:42 +00:00
parent c7d38ea6fb
commit ce7209ac74

View file

@ -34,9 +34,8 @@ final class IftttPostPusher extends HttpPostPusher {
$this->client->post($url, [
'form_params' => [
'value1' => $this->t('Blogged: @text', [
'@text' => $post->toTweet(),
]),
'value1' => $this->t('Blogged: @text', ['@text' => $post->toTweet()])
->render(),
],
]);
}