Skip to content

Commit 12ebb13

Browse files
committed
wip
1 parent 838ad1a commit 12ebb13

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

config/filament-webhooks.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use Basement\Webhooks\Models\InboundWebhook;
4+
use Basement\Webhooks\Enums\InboundWebhookSource;
45
use Filament\Support\Icons\Heroicon;
56

67
return [
@@ -11,4 +12,5 @@
1112
'navigation_sort' => 100,
1213

1314
'model' => InboundWebhook::class,
15+
'providers_enum' => InboundWebhookSource::class,
1416
];

src/Models/InboundWebhook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function casts(): array
2626
return [
2727
'id' => 'string',
2828
'payload' => 'array',
29-
'source' => InboundWebhookSource::class,
29+
'source' => config('filament-webhooks.providers_enum'),
3030
];
3131
}
3232
}

0 commit comments

Comments
 (0)