Teams: Add support for updating externalId field (#106406)

* add support for updating externalId field in teams

* return external_uid in GetTeam()
This commit is contained in:
Mihai Doarna
2025-06-11 10:02:20 +03:00
committed by GitHub
parent 185d1a1530
commit 90c80d6738
5 changed files with 20 additions and 9 deletions
+4 -3
View File
@@ -111,9 +111,10 @@ func (ss *xormStore) Update(ctx context.Context, cmd *team.UpdateTeamCommand) er
}
t := team.Team{
Name: cmd.Name,
Email: cmd.Email,
Updated: time.Now(),
Name: cmd.Name,
Email: cmd.Email,
ExternalUID: cmd.ExternalUID,
Updated: time.Now(),
}
sess.MustCols("email")