Feat: finish login and add test

This commit is contained in:
2025-12-07 17:42:28 +08:00
parent 2eb8a18c40
commit 3970dd5ebd
15 changed files with 110 additions and 41 deletions

View File

@@ -17,7 +17,7 @@ type Database interface {
userId string,
) (models.Session, error)
UpdateLoginToken(
UpsertLoginToken(
ctx context.Context,
userId string,
) (string, error)