|
@@ -23,7 +23,7 @@ class ActionController extends Controller
|
|
|
{
|
|
|
$actionObjectType = ActionObjectType::from($objectType);
|
|
|
|
|
|
- $model = $actionObjectType->modelBuilder()->where("company_id", Auth::user()->company_id)->findOrFail($objectId);
|
|
|
+ $model = $actionObjectType->modelBuilder()->findOrFail($objectId);
|
|
|
|
|
|
$objectIds = [$objectId];
|
|
|
if (ActionObjectType::CONTAINER_FILE->value == $objectType) {
|