mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-05 17:54:14 +03:00
Fix sign up method not accepting integer codes
This commit is contained in:
parent
6261affaa1
commit
6240677831
|
@ -416,7 +416,7 @@ class TelegramClient(TelegramBareClient):
|
|||
result = self(SignUpRequest(
|
||||
phone_number=self._phone,
|
||||
phone_code_hash=self._phone_code_hash.get(self._phone, ''),
|
||||
phone_code=code,
|
||||
phone_code=str(code),
|
||||
first_name=first_name,
|
||||
last_name=last_name
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue
Block a user