feat(fixes): some fixes breaking build

This commit is contained in:
2025-06-16 08:36:28 +03:00
parent 45173c406c
commit 69db68607f
3 changed files with 2 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
// File: backend/internal/database/user_repository.go
package database
import (
@@ -60,7 +59,6 @@ func (r *UserRepository) CreateUserTx(ctx context.Context, user *models.User) er
}
var (
ErrUserExists = errors.New("user with this username or email already exists")
ErrUserNotFound = errors.New("user not found") // Новая ошибка
)