From 847a42700fceb382be9cddbe7510f7fc30685f8a Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Tue, 24 Jan 2023 15:51:22 +0100 Subject: [PATCH] admin: Fix team updating --- admin/api/team.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/api/team.go b/admin/api/team.go index 9bcf208c..fd164fbf 100644 --- a/admin/api/team.go +++ b/admin/api/team.go @@ -327,7 +327,7 @@ func updateTeam(c *gin.Context) { return } - c.JSON(http.StatusOK, team) + c.JSON(http.StatusOK, ut) } func disableInactiveTeams(c *gin.Context) {