mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
[L6] Update even more areas of codebase using custom model validation logic
This commit is contained in:
@@ -27,7 +27,7 @@ class UpdateLocationRequest extends StoreLocationRequest
|
||||
{
|
||||
$locationId = $this->route()->parameter('location')->id;
|
||||
|
||||
return collect(Location::getUpdateRulesForId($locationId))->only([
|
||||
return collect(Location::getRulesForUpdate($locationId))->only([
|
||||
'short',
|
||||
'long',
|
||||
])->toArray();
|
||||
|
||||
Reference in New Issue
Block a user