diff --git a/src/Traits/Events.php b/src/Traits/Events.php index fed6bcf..0f1e1df 100644 --- a/src/Traits/Events.php +++ b/src/Traits/Events.php @@ -13,6 +13,6 @@ public function joinedEvents() public function responsibleEvents() { - return $this->joinedEvents()->wherePivot('responsible', true)->get(); + return $this->joinedEvents()->wherePivot('responsible', true); } }