diff --git a/app/Services/NewsletterService.php b/app/Services/NewsletterService.php index 42a6dc6..9abb37b 100644 --- a/app/Services/NewsletterService.php +++ b/app/Services/NewsletterService.php @@ -12,12 +12,10 @@ class NewsletterService public static function subscribe(string $email, ?string $name = null) { $mergeFields = []; - if (filled($name)) - { + if (filled($name)) { $mergeFields = [ 'MERGE1' => $name, ]; - } $response = rescue( fn () => Newsletter::subscribe($email, $mergeFields), @@ -32,7 +30,6 @@ public static function subscribe(string $email, ?string $name = null) ]); // TODO: check if email registered as user - } return $response; diff --git a/resources/js/Pages/AdminOng/Projects/EditProject.vue b/resources/js/Pages/AdminOng/Projects/EditProject.vue index 8445a41..a02ef54 100644 --- a/resources/js/Pages/AdminOng/Projects/EditProject.vue +++ b/resources/js/Pages/AdminOng/Projects/EditProject.vue @@ -538,7 +538,7 @@ :label="$t('external_links_title')" >