From d7243637203861d0c9dabb558c557ebfa82a4750 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Thu, 13 Mar 2025 18:17:01 +0100 Subject: [PATCH] chore: remove todo, syntax --- pkg/userstore/migrations/1741770848_init.up.sql | 2 +- pkg/userstore/users_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/userstore/migrations/1741770848_init.up.sql b/pkg/userstore/migrations/1741770848_init.up.sql index 64c8d2d..6f66cd0 100644 --- a/pkg/userstore/migrations/1741770848_init.up.sql +++ b/pkg/userstore/migrations/1741770848_init.up.sql @@ -15,5 +15,5 @@ CREATE TABLE mail ( validationCode TEXT NOT NULL UNIQUE, isValidated BOOLEAN NOT NULL DEFAULT 0, isPrimary BOOLEAN NOT NULL DEFAULT 0 -) +); diff --git a/pkg/userstore/users_test.go b/pkg/userstore/users_test.go index 3e6a346..7b62e94 100644 --- a/pkg/userstore/users_test.go +++ b/pkg/userstore/users_test.go @@ -57,7 +57,6 @@ func TestWriteUser(t *testing.T) { }) } - // TODO: Check if pw hash are not unique var pw1 string var pw2 string err := store.db.QueryRow("SELECT password FROM users WHERE id = 1").Scan(&pw1)