1
0
Fork 0
mirror of synced 2024-10-04 04:06:16 +13:00

fix formatting

This commit is contained in:
Damodar Lohani 2023-05-11 01:43:26 +00:00
parent 3da853af2e
commit b1cf55db6e

View file

@ -1802,7 +1802,7 @@ App::get('/v1/projects/:projectId/templates/email/:type/:locale')
$template = $templates['email.' . $type . '-' . $locale] ?? null;
$localeObj = new Locale($locale);
if(is_null($template)) {
if (is_null($template)) {
$message = Template::fromFile(__DIR__ . '/../../config/locale/templates/email-base.tpl');
$message = $message
->setParam('{{hello}}', $localeObj->getText("emails.{$type}.hello"))