|
@@ -67,7 +67,9 @@ class FileController extends Controller
|
|
|
->where("object_id", $file->object_id)
|
|
|
->update(['title' => $request->get('title')]);
|
|
|
|
|
|
- ActionRepository::create($id, ActionObjectType::CONTAINER_FILE, ObjectAction::EDITED_FILE);
|
|
|
+
|
|
|
+ ActionRepository::createByFile($file->object_id, $file->object_type, ObjectAction::EDITED_FILE);
|
|
|
+
|
|
|
return $this->noContent();
|
|
|
}
|
|
|
|