fix(forge/gitlab): use group Path instead of Name for membership lookup (#7086)

This commit is contained in:
You ChangDing
2026-08-31 11:37:59 +02:00
committed by GitHub
parent 5e26f8ca16
commit d06e0c3027
+1 -1
View File
@@ -706,7 +706,7 @@ func (g *GitLab) OrgMembership(ctx context.Context, u *model.User, owner string)
}
var gid int64
for _, group := range groups {
if group.Name == owner {
if group.Path == owner {
gid = group.ID
break
}