Skip to content

Commit 317176e

Browse files
committed
jup
1 parent 4bcec1e commit 317176e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/organization/org.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ func (org *Organization) getUserTeamIDs(ctx context.Context, userID int64) ([]in
658658
return teamIDs, db.GetEngine(ctx).
659659
Table("team").
660660
Cols("team.id").
661-
Where(userTeamIDbuilder(org.ID, userID)).
661+
Where(builder.In("team.id", userTeamIDbuilder(org.ID, userID))).
662662
Find(&teamIDs)
663663
}
664664

0 commit comments

Comments
 (0)