diff --git a/app/Actions/Notifications/SendWebhookTestNotification.php b/app/Actions/Notifications/SendWebhookTestNotification.php index 719080933..834a1d0cc 100644 --- a/app/Actions/Notifications/SendWebhookTestNotification.php +++ b/app/Actions/Notifications/SendWebhookTestNotification.php @@ -5,6 +5,7 @@ use App\Models\Result; use App\Services\SpeedtestFakeResultGenerator; use Filament\Notifications\Notification; +use Illuminate\Support\Str; use Lorisleiva\Actions\Concerns\AsAction; use Spatie\WebhookServer\WebhookCall; @@ -30,7 +31,7 @@ public function handle(array $webhooks) WebhookCall::create() ->url($webhook['url']) ->payload([ - 'result_id' => fake()->uuid(), + 'result_id' => Str::uuid(), 'site_name' => 'Webhook Notification Testing', 'isp' => $fakeResult->data['isp'], 'ping' => $fakeResult->ping,