diff options
Diffstat (limited to 'internal/route/org')
-rw-r--r-- | internal/route/org/members.go | 2 | ||||
-rw-r--r-- | internal/route/org/teams.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/route/org/members.go b/internal/route/org/members.go index c8516b72..b53034e4 100644 --- a/internal/route/org/members.go +++ b/internal/route/org/members.go @@ -76,7 +76,7 @@ func MembersAction(c *context.Context) { if err != nil { log.Error("Action(%s): %v", c.Params(":action"), err) - c.JSONSuccess(map[string]interface{}{ + c.JSONSuccess(map[string]any{ "ok": false, "err": err.Error(), }) diff --git a/internal/route/org/teams.go b/internal/route/org/teams.go index 7f932f3f..b99b0a1b 100644 --- a/internal/route/org/teams.go +++ b/internal/route/org/teams.go @@ -91,7 +91,7 @@ func TeamsAction(c *context.Context) { c.Flash.Error(c.Tr("form.last_org_owner")) } else { log.Error("Action(%s): %v", c.Params(":action"), err) - c.JSONSuccess(map[string]interface{}{ + c.JSONSuccess(map[string]any{ "ok": false, "err": err.Error(), }) @@ -265,7 +265,7 @@ func DeleteTeam(c *context.Context) { c.Flash.Success(c.Tr("org.teams.delete_team_success")) } - c.JSONSuccess(map[string]interface{}{ + c.JSONSuccess(map[string]any{ "redirect": c.Org.OrgLink + "/teams", }) } |