fix: stripe webhooks

This commit is contained in:
Andras Bacsai committed 2024-02-06 11:11:26 +01:00
1 parent 6869c582ff
commit 45b736bb01
5 files changed
+31 -22

No files matched your search

+1 -3
View File
@@ -298,10 +298,8 @@ function validate_cron_expression($expression_to_validate): bool
function send_internal_notification(string $message): void
{
try {
$baseUrl = config('app.name');
$team = Team::find(0);
$team?->notify(new GeneralNotification("👀 {$baseUrl}: " . $message));
ray("👀 {$baseUrl}: " . $message);
$team?->notify(new GeneralNotification($message));
} catch (\Throwable $e) {
ray($e->getMessage());
}