Fix listing team members (#3048)
This commit is contained in:
@ -484,6 +484,8 @@ WHERE team_user.org_id = ? AND team_user.uid = ?`,
|
|||||||
return fmt.Errorf("get teams: %v", err)
|
return fmt.Errorf("get teams: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
org.Teams = teams
|
||||||
|
|
||||||
// FIXME: should I change this value inside method,
|
// FIXME: should I change this value inside method,
|
||||||
// or only in location of caller where it's really needed?
|
// or only in location of caller where it's really needed?
|
||||||
org.NumTeams = len(org.Teams)
|
org.NumTeams = len(org.Teams)
|
||||||
|
Reference in New Issue
Block a user