Convert the remaining interface{}
s to any
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
parent
a59a32eb08
commit
5bf959a3a5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue