diff --git a/src/AttachMany.php b/src/AttachMany.php index 0a13101..ed67b4f 100644 --- a/src/AttachMany.php +++ b/src/AttachMany.php @@ -74,7 +74,7 @@ public function __construct($name, $attribute = null, $resource = null) $parent = $request->newResource(); if (method_exists($parent, $method)) { - $parent->{$method}($changes); + $parent->{$method}($changes, $model); } });