|
@@ -20,10 +20,6 @@ class FileService
|
|
|
public function update(string $id, array $updatedData): void
|
|
|
{
|
|
|
$file = File::query()->findOrFail($id);
|
|
|
-
|
|
|
- if ($updatedData['naming_rule_id']) {
|
|
|
- $updatedData['naming_rules'] = $this->customFieldRepository->keysByGroup($updatedData['naming_rule_id'])->value;
|
|
|
- }
|
|
|
$file->fill($updatedData);
|
|
|
|
|
|
$changes = ModelChangeDetector::detector(ActionObjectType::CONTAINER_FILE, $file);
|