jsonrpc: use camel-case for Event struct and move events.rs to types folder (#4372)

* use camel-case for Event struct and move events.rs to types folder

---------

Co-authored-by: link2xt <link2xt@testrun.org>
This commit is contained in:
Asiel Díaz Benítez
2023-05-08 12:49:19 +02:00
committed by GitHub
parent 3efbe5b1ef
commit 5c3df7e452
6 changed files with 9 additions and 9 deletions

View File

@@ -79,7 +79,7 @@ class Rpc:
if self.closing:
return
event = await self.get_next_event()
account_id = event["context_id"]
account_id = event["contextId"]
queue = await self.get_queue(account_id)
await queue.put(event["event"])