Тест кода
This commit is contained in:
parent
ff036d18d3
commit
5f5909cacd
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ class UserService:
|
|||
async with RedisService(is_raise=True) as redis:
|
||||
verification_code = await redis.get_value(key=f"user_verification_code: {user.id}")
|
||||
except AttributeError:
|
||||
logging.warning("Хуйня в редисе")
|
||||
raise WrongCodeException
|
||||
if verification_code != confirmation_code:
|
||||
raise WrongCodeException
|
||||
|
|
Loading…
Add table
Reference in a new issue