Skip to content

Commit a8e40a3

Browse files
authored
[Bug] Fix failing webhook test generator (#2276)
1 parent 6cd2503 commit a8e40a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Actions/Notifications/SendWebhookTestNotification.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use App\Models\Result;
66
use App\Services\SpeedtestFakeResultGenerator;
77
use Filament\Notifications\Notification;
8+
use Illuminate\Support\Str;
89
use Lorisleiva\Actions\Concerns\AsAction;
910
use Spatie\WebhookServer\WebhookCall;
1011

@@ -30,7 +31,7 @@ public function handle(array $webhooks)
3031
WebhookCall::create()
3132
->url($webhook['url'])
3233
->payload([
33-
'result_id' => fake()->uuid(),
34+
'result_id' => Str::uuid(),
3435
'site_name' => 'Webhook Notification Testing',
3536
'isp' => $fakeResult->data['isp'],
3637
'ping' => $fakeResult->ping,

0 commit comments

Comments
 (0)