diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 9036b4d39d..4645cbbc18 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -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"))