From 08ab9b016e3b09068335417d56a862819d2d9683 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Mon, 28 Aug 2023 20:06:34 -0400 Subject: [PATCH] Fix render called on string --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 694cb81046..bad4bd6f55 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -1136,7 +1136,7 @@ App::post('/v1/account/sessions/magic-url') $mails ->setSubject($subject) - ->setBody($body->render()) + ->setBody($body) ->setVariables($emailVariables) ->setFrom($from) ->setRecipient($user->getAttribute('email'))