From b1cf55db6e32d12d1c961b50d66639c607d4d00a Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 11 May 2023 01:43:26 +0000 Subject: [PATCH] fix formatting --- app/controllers/api/projects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))