api: sql statements: replace spaces with tabs

This commit is contained in:
Adhityaa Chandrasekar
2019-12-27 17:31:27 -08:00
parent e7a5e01379
commit d6e7507b2c
10 changed files with 46 additions and 46 deletions

View File

@@ -56,10 +56,10 @@ func ownerNew(email string, name string, password string) (string, error) {
}
statement = `
INSERT INTO
ownerConfirmHexes (confirmHex, ownerHex, sendDate)
VALUES ($1, $2, $3 );
`
INSERT INTO
ownerConfirmHexes (confirmHex, ownerHex, sendDate)
VALUES ($1, $2, $3 );
`
_, err = db.Exec(statement, confirmHex, ownerHex, time.Now().UTC())
if err != nil {
logger.Errorf("cannot insert confirmHex: %v\n", err)