fix error "Unknown column 'api' in 'field list'" on mass relate (#3562)
This commit is contained in:
@@ -1303,7 +1303,7 @@ class Service implements Crud,
|
||||
|
||||
$this->getRepository()
|
||||
->getRelation($entity, $link)
|
||||
->relate($foreignEntity, [SaveOption::API => true]);
|
||||
->relate($foreignEntity, null, [SaveOption::API => true]);
|
||||
|
||||
$countRelated++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user