fix save slider image
This commit is contained in:
parent
afea5d3ab1
commit
306e0fa072
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class StoreSliderRequest extends FormRequest
|
|||
if (!$this->slider) {
|
||||
$rules['type'] = ['required', new EnumIsValidRule(SliderType::class)];
|
||||
}
|
||||
return \array_merge($rules, $this->pictureRules(1400, 630, 1400, 630));
|
||||
return \array_merge($rules, $this->pictureRules('picture', 1400, 630, 1400, 630));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue