fix(postgres): map drivers
This commit is contained in:
@@ -38,7 +38,7 @@ func (r *UserRepo) Create(ctx context.Context, user *domain.User) error {
|
||||
Message: "нарушено ограничение целостности",
|
||||
}
|
||||
}
|
||||
return err
|
||||
return mapError(err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user