fix(clusters): normalize persisted portable analysis version
This commit is contained in:
@@ -57,6 +57,7 @@ final class ClusterCompetitiveness
|
||||
}
|
||||
}
|
||||
$clean = Validator::make($draft, $rules)->validate();
|
||||
$clean['version'] = 1;
|
||||
$clean['sector'] = trim($clean['sector'] ?? '');
|
||||
$clean['region'] = trim($clean['region'] ?? '');
|
||||
foreach (self::FORCES as $force) {
|
||||
|
||||
Reference in New Issue
Block a user