From bb1d87485a7e97f997f9bb503a2638a4a14332ac Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 10 Oct 2017 13:52:29 +0100 Subject: [PATCH] Add missing '}' typo introduced during merge --- .../dendrite/clientapi/auth/storage/accounts/storage.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go b/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go index 1f45a9f74..b49e83705 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go +++ b/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go @@ -338,6 +338,7 @@ func (d *Database) PutFilter( return "", err } return d.filter.findMaxID(ctx, localpart) +} // CheckAccountAvailability checks if the username/localpart is already present in the database. // If the DB returns sql.ErrNoRows the Localpart isn't taken.