mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
fix: Fix ValueError: Invalid peer type (Issue #2)
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
b27d18c640
commit
955db61bc3
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ class MongoStorage(Storage):
|
|||
if r is None:
|
||||
raise KeyError(f"Phone number not found: {phone_number}")
|
||||
|
||||
return get_input_peer(*r)
|
||||
return get_input_peer(r['_id'], r['access_hash'], r['type'])
|
||||
|
||||
async def _get(self):
|
||||
attr = inspect.stack()[2].function
|
||||
|
|
|
|||
Loading…
Reference in a new issue