From dc929350e660c9f58628b765def3cdd5a52c2d63 Mon Sep 17 00:00:00 2001 From: YoussefACHCHIRAJ Date: Sun, 30 Nov 2025 15:30:43 +0100 Subject: [PATCH] fix: issue #48 --- src/Commands/SheafInitCommand.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Commands/SheafInitCommand.php b/src/Commands/SheafInitCommand.php index c0073eb..591c9b3 100644 --- a/src/Commands/SheafInitCommand.php +++ b/src/Commands/SheafInitCommand.php @@ -227,10 +227,11 @@ protected function subscribeToNewsletter() return; } try { - new ComponentHttpClient()->subscribeUserToNewsletter($email); - $this->info("✓ Thanks for subscribing! We'll keep you updated with new components and features."); + $httpClient = new ComponentHttpClient(); + $httpClient->subscribeUserToNewsletter($email); + $this->info("Thanks for subscribing! We will keep you updated with new components and features."); } catch (\Throwable $th) { - $this->warn("We couldn't subscribe your email right now, but you can always subscribe later at https://sheafui.dev"); + $this->warn("We could not subscribe your email right now, but you can always subscribe later at https://sheafui.dev"); } }