Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Probably bug with group() scope in UsersTrait #133

Closed
@justasLab

Description

@justasLab

I want to get users who belong to admin group. I use this method:
$users = User::group('admin')->get();

Unfortunately this method returns a list of all users. So here's the bug or am I doing something wrong?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghacktoberfestIssues for hacktoberfestsupport

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions