diff options
Diffstat (limited to 'internal/route/repo/setting.go')
-rw-r--r-- | internal/route/repo/setting.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/repo/setting.go b/internal/route/repo/setting.go index c02254ee..b1d4de6a 100644 --- a/internal/route/repo/setting.go +++ b/internal/route/repo/setting.go @@ -429,7 +429,7 @@ func DeleteCollaboration(c *context.Context) { c.Flash.Success(c.Tr("repo.settings.remove_collaborator_success")) } - c.JSONSuccess(map[string]interface{}{ + c.JSONSuccess(map[string]any{ "redirect": c.Repo.RepoLink + "/settings/collaboration", }) } @@ -682,7 +682,7 @@ func DeleteDeployKey(c *context.Context) { c.Flash.Success(c.Tr("repo.settings.deploy_key_deletion_success")) } - c.JSONSuccess(map[string]interface{}{ + c.JSONSuccess(map[string]any{ "redirect": c.Repo.RepoLink + "/settings/keys", }) } |