diff options
Diffstat (limited to 'internal/route/admin/repos.go')
-rw-r--r-- | internal/route/admin/repos.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/admin/repos.go b/internal/route/admin/repos.go index c2d2509c..5ae8f749 100644 --- a/internal/route/admin/repos.go +++ b/internal/route/admin/repos.go @@ -81,7 +81,7 @@ func DeleteRepo(c *context.Context) { log.Trace("Repository deleted: %s/%s", repo.MustOwner().Name, repo.Name) c.Flash.Success(c.Tr("repo.settings.deletion_success")) - c.JSONSuccess(map[string]interface{}{ + c.JSONSuccess(map[string]any{ "redirect": conf.Server.Subpath + "/admin/repos?page=" + c.Query("page"), }) } |