We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce565f9 commit 42c60a5Copy full SHA for 42c60a5
app/controllers/LilaController.scala
@@ -473,7 +473,7 @@ private[controllers] trait LilaController
473
}
474
475
protected def jsonFormError(err: Form[_])(implicit lang: play.api.i18n.Lang) =
476
- fuccess(BadRequest(errorsAsJson(err)))
+ fuccess(BadRequest(jsonError(errorsAsJson(err))))
477
478
protected def pageHit(implicit ctx: lila.api.Context) =
479
if (HTTPRequest isHuman ctx.req) lila.mon.http.request.path(ctx.req.path)()
0 commit comments