mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 01:24:39 +02:00
fix failing tests
This commit is contained in:
1 parent
6f76360208
commit
55ca263b89
2 files changed
+8
-8
No files matched your search
@@ -113,7 +113,7 @@ func FindGroupTeams(ctx context.Context, groupID int64) (gteams []*RepoGroupTeam
|
||||
Find(>eams)
|
||||
}
|
||||
|
||||
func FindUserGroupTeams(ctx context.Context, groupID int64, userID int64) (gteams []*RepoGroupTeam, err error) {
|
||||
func FindUserGroupTeams(ctx context.Context, groupID, userID int64) (gteams []*RepoGroupTeam, err error) {
|
||||
return gteams, db.GetEngine(ctx).
|
||||
Where("group_id=?", groupID).
|
||||
And("team_user.uid = ?", userID).
|
||||
|
||||
Reference in new issue
Block a user