Skip to content

Commit

Permalink
Improve User.Active helper
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 28, 2024
1 parent 093356e commit 017a8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pachca.go
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ func (u Users) Active() Users {
var result Users

for _, uu := range u {
if !uu.IsSuspended {
if !uu.IsSuspended && uu.InviteStatus == INVITE_CONFIRMED {
result = append(result, uu)
}
}
Expand Down

0 comments on commit 017a8b4

Please sign in to comment.