fix: check for correct user exist err in register

This commit is contained in:
2025-11-26 01:45:28 +00:00
parent 06c3951293
commit 834517f3c0
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ type LoginResult struct {
}
var ErrInvalidCredentials = errors.New("invalid credentials")
var ErrUserExists = errors.New("user already exists")
type Service struct {
db *bun.DB