Mercurial > gemma
diff pkg/controllers/user.go @ 4148:1b1218bbd414
Made 'go vet' happy with controllers again.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 02 Aug 2019 11:43:52 +0200 |
parents | 5867dcf8e93c |
children | 1458c9b0fdaa |
line wrap: on
line diff
--- a/pkg/controllers/user.go Fri Aug 02 11:41:12 2019 +0200 +++ b/pkg/controllers/user.go Fri Aug 02 11:43:52 2019 +0200 @@ -263,7 +263,7 @@ } if err != nil { - m, c := pgxutils.ReadableError{err}.MessageAndCode() + m, c := pgxutils.ReadableError{Err: err}.MessageAndCode() err = JSONError{Code: c, Message: m} return }