mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
calc_type can only be 0 or 1
This commit is contained in:
parent
f7f01c5059
commit
3ca1ae5d70
@ -82,7 +82,7 @@ class UpdateMetricCommand
|
||||
'description' => 'string',
|
||||
'display_chart' => 'boolean',
|
||||
'default_value' => 'numeric',
|
||||
'calc_type' => 'integer',
|
||||
'calc_type' => 'integer|in:0,1',
|
||||
'display_chart' => 'integer',
|
||||
'places' => 'numeric|min:0|max:4',
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user