diff --git a/src/Api/Actions/Groups/IndexAction.php b/src/Api/Actions/Groups/IndexAction.php index c82460647..3326be049 100644 --- a/src/Api/Actions/Groups/IndexAction.php +++ b/src/Api/Actions/Groups/IndexAction.php @@ -1,6 +1,6 @@ belongsToMany('Flarum\Core\Users\Group', 'users_groups'); + return $this->belongsToMany('Flarum\Core\Groups\Group', 'users_groups'); } /**