stores/postgres.go
Method Postgres.ReadLastPending
has 70 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (pgs *Postgres) ReadLastPending(ctype verifier.CommType, recipient string) (*verifier.Request, error) {
query, args, err := pgs.qbuilder.Select(
"id",
"type",
"sender",