remove unnecessary returns
This commit is contained in:
parent
df3c126146
commit
379b1cbc90
@ -73,7 +73,6 @@ async def _process_consumer_request(
|
||||
response = WSWhitelistMessage(data=whitelist)
|
||||
# Send it back
|
||||
await channel.send(response.dict(exclude_none=True))
|
||||
return
|
||||
|
||||
elif type == RPCRequestType.ANALYZED_DF:
|
||||
limit = None
|
||||
@ -90,8 +89,6 @@ async def _process_consumer_request(
|
||||
response = WSAnalyzedDFMessage(data=message)
|
||||
await channel.send(response.dict(exclude_none=True))
|
||||
|
||||
return
|
||||
|
||||
|
||||
@router.websocket("/message/ws")
|
||||
async def message_endpoint(
|
||||
|
Loading…
Reference in New Issue
Block a user