1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00

fix webapp masterdb

This commit is contained in:
Lee Brown
2019-08-29 01:07:49 -08:00
parent 58b436860e
commit e333a56ca0
4 changed files with 5 additions and 5 deletions

View File

@ -33,8 +33,6 @@ func Errors(log *log.Logger, renderer web.Renderer) web.Middleware {
log.Printf("ERROR : %+v", er)
}
// Respond to the error.
if web.RequestIsJson(r) {
if err := web.RespondJsonError(ctx, w, er); err != nil {