Skip to content

Commit 50cb893

Browse files
authored
Merge pull request #4 from atfromhome/patch-01
Tambah `SnakeCaseMapper`
2 parents 1de1819 + 7d89cad commit 50cb893

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Http/Integrations/Inputs/WebhookUrlInput.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
namespace FromHome\Moota\Http\Integrations\Inputs;
66

77
use Spatie\LaravelData\Data;
8+
use Spatie\LaravelData\Attributes\MapName;
9+
use Spatie\LaravelData\Mappers\SnakeCaseMapper;
810
use Spatie\LaravelData\Attributes\Validation\In;
911
use Spatie\LaravelData\Attributes\Validation\Url;
1012

13+
#[MapName(SnakeCaseMapper::class)]
1114
final class WebhookUrlInput extends Data
1215
{
1316
public function __construct(

0 commit comments

Comments
 (0)