fix: stripe webhooks

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

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());
}