Skip to content

Commit

Permalink
Try another approach on subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Nov 3, 2024
1 parent 1462007 commit f7ea946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/NewsletterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static function subscribe(string $email, ?string $name = null)
];

$response = rescue(
fn () => Newsletter::subscribePending($email, $mergeFields),
fn () => Newsletter::subscribe($email, $mergeFields),
false
);

Expand Down

0 comments on commit f7ea946

Please sign in to comment.