1
0
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:
Gerasimos (Makis) Maropoulos
2022-09-18 20:49:12 +03:00
parent 070a81d38f
commit a431a1c7d2
3 changed files with 4 additions and 7 deletions

View File

@@ -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
}