Convert the remaining interface{}s to any

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2024-04-14 14:36:40 +02:00
parent a59a32eb08
commit 5bf959a3a5
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -376,7 +376,7 @@ func Action(ctx *context.Context) {
}
if redirectViaJSON {
ctx.JSON(http.StatusOK, map[string]interface{}{
ctx.JSON(http.StatusOK, map[string]any{
"redirect": ctx.ContextUser.HomeLink(),
})
return