Update views_api.py
This commit is contained in:
parent
a24762932c
commit
380747a72b
1 changed files with 0 additions and 1 deletions
|
|
@ -109,7 +109,6 @@ async def ws_filter_subscribe(websocket: WebSocket):
|
||||||
await websocket.accept()
|
await websocket.accept()
|
||||||
while True:
|
while True:
|
||||||
json_data = await websocket.receive_text()
|
json_data = await websocket.receive_text()
|
||||||
# print('### nostrclient', json_data)
|
|
||||||
try:
|
try:
|
||||||
data = json.loads(json_data)
|
data = json.loads(json_data)
|
||||||
filters = data if isinstance(data, list) else [data]
|
filters = data if isinstance(data, list) else [data]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue