mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
examples: minor improvements
This commit is contained in:
@@ -151,6 +151,6 @@ func sendJSON(ctx iris.Context, resp interface{}) (err error) {
|
||||
}
|
||||
}
|
||||
|
||||
_, err = ctx.JSON(resp, iris.JSON{Indent: indent, UnescapeHTML: true})
|
||||
err = ctx.JSON(resp, iris.JSON{Indent: indent, UnescapeHTML: true})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user