mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 15:07:49 +00:00
fix: add recipe: url only required when data strategy polling
This commit is contained in:
parent
82ec221a87
commit
f187cabcd9
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ new class extends Component {
|
|||
'name' => 'required|string|max:255',
|
||||
'data_stale_minutes' => 'required|integer|min:1',
|
||||
'data_strategy' => 'required|string|in:polling,webhook',
|
||||
'polling_url' => 'required|url',
|
||||
'polling_url' => 'required_if:data_strategy,polling|nullable|url',
|
||||
'polling_verb' => 'required|string|in:get,post',
|
||||
'polling_header' => 'nullable|string|max:255',
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue