fix: Ошибка с двойной передачей uuid
This commit is contained in:
@@ -138,6 +138,8 @@ class Server:
|
|||||||
cls._requests[kwargs['uuid']].set_result(kwargs)
|
cls._requests[kwargs['uuid']].set_result(kwargs)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
uuid = kwargs.get('uuid')
|
uuid = kwargs.get('uuid')
|
||||||
|
if uuid is not None:
|
||||||
|
del kwargs['uuid']
|
||||||
asyncio.create_task(call_event(event, connection, uuid, **kwargs))
|
asyncio.create_task(call_event(event, connection, uuid, **kwargs))
|
||||||
|
|
||||||
case {'subscribe': topics}:
|
case {'subscribe': topics}:
|
||||||
|
|||||||
Reference in New Issue
Block a user