Add missing '}' typo introduced during merge

This commit is contained in:
Erik Johnston 2017-10-10 13:52:29 +01:00 committed by GitHub
parent 6a4cffc47e
commit bb1d87485a

View file

@ -338,6 +338,7 @@ func (d *Database) PutFilter(
return "", err return "", err
} }
return d.filter.findMaxID(ctx, localpart) return d.filter.findMaxID(ctx, localpart)
}
// CheckAccountAvailability checks if the username/localpart is already present in the database. // CheckAccountAvailability checks if the username/localpart is already present in the database.
// If the DB returns sql.ErrNoRows the Localpart isn't taken. // If the DB returns sql.ErrNoRows the Localpart isn't taken.