mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
Fix #2033
This commit is contained in:
parent
d905849b71
commit
8607fd4997
@ -74,7 +74,7 @@ class TagRequest extends Request
|
||||
'description' => 'min:1|nullable',
|
||||
'date' => 'date|nullable',
|
||||
'latitude' => 'numeric|min:-90|max:90|nullable|required_with:longitude',
|
||||
'longitude' => 'numeric|min:-90|max:90|nullable|required_with:latitude',
|
||||
'longitude' => 'numeric|min:-180|max:180|nullable|required_with:latitude',
|
||||
'zoom_level' => 'numeric|min:0|max:80|nullable',
|
||||
];
|
||||
switch ($this->method()) {
|
||||
|
@ -92,7 +92,7 @@ class TagFormRequest extends Request
|
||||
'description' => 'min:1|nullable',
|
||||
'date' => 'date|nullable',
|
||||
'latitude' => 'numeric|min:-90|max:90|nullable',
|
||||
'longitude' => 'numeric|min:-90|max:90|nullable',
|
||||
'longitude' => 'numeric|min:-180|max:180|nullable',
|
||||
'zoom_level' => 'numeric|min:0|max:80|nullable',
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user