Skip to content

Commit

Permalink
Revert "Revert "fix: column 'id' can be ambiguous (askvortsov1#9)""
Browse files Browse the repository at this point in the history
This reverts commit 64c1182.
  • Loading branch information
nodeloc committed Aug 29, 2024
1 parent 64c1182 commit b4d8174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Requirement/InGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ public function eventTriggers(): array {
}

public function userSatisfies(User $user, array $settings = []): bool {
return $user->groups()->where('id', $settings['group_id'])->exists();
return $user->groups()->where('groups.id', $settings['group_id'])->exists();
}
}

0 comments on commit b4d8174

Please # to comment.