mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix API endpoint
This commit is contained in:
@@ -84,7 +84,7 @@ class TestRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'start' => 'date',
|
'start' => 'date',
|
||||||
'end' => 'date|after:start',
|
'end' => 'date|after_or_equal:start',
|
||||||
'accounts' => '',
|
'accounts' => '',
|
||||||
'accounts.*' => 'required|exists:accounts,id|belongsToUser:accounts',
|
'accounts.*' => 'required|exists:accounts,id|belongsToUser:accounts',
|
||||||
];
|
];
|
||||||
|
@@ -73,7 +73,7 @@ class TriggerRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'start' => 'date',
|
'start' => 'date',
|
||||||
'end' => 'date|after:start',
|
'end' => 'date|after_or_equal:start',
|
||||||
'accounts' => '',
|
'accounts' => '',
|
||||||
'accounts.*' => 'exists:accounts,id|belongsToUser:accounts',
|
'accounts.*' => 'exists:accounts,id|belongsToUser:accounts',
|
||||||
];
|
];
|
||||||
|
@@ -73,7 +73,7 @@ class TestRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'start' => 'date',
|
'start' => 'date',
|
||||||
'end' => 'date|after:start',
|
'end' => 'date|after_or_equal:start',
|
||||||
'accounts' => '',
|
'accounts' => '',
|
||||||
'accounts.*' => 'exists:accounts,id|belongsToUser:accounts',
|
'accounts.*' => 'exists:accounts,id|belongsToUser:accounts',
|
||||||
];
|
];
|
||||||
|
@@ -73,7 +73,7 @@ class TriggerRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'start' => 'date',
|
'start' => 'date',
|
||||||
'end' => 'date|after:start',
|
'end' => 'date|after_or_equal:start',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user