1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 11:27:06 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -45,7 +45,7 @@ func makeAccessLog() *accesslog.AccessLog {
if sess := sessions.Get(ctx); sess != nil {
fields.Set("session_id", sess.ID())
sess.Visit(func(k string, v interface{}) {
sess.Visit(func(k string, v any) {
fields.Set(k, v)
})
}
@@ -130,7 +130,7 @@ func main() {
}
func readBodyHandler(ctx iris.Context) {
var request interface{}
var request any
if err := ctx.ReadBody(&request); err != nil {
ctx.StopWithPlainError(iris.StatusBadRequest, err)
return