feat(fixes): some fixes breaking build
This commit is contained in:
1 parent
45173c406c
commit
69db68607f
3 files changed
+2
-4
No files matched your search
@@ -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") // Новая ошибка
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user