Update web.py

Does it need a web.response>
This commit is contained in:
Pablo Revilla
2025-01-21 21:51:19 -08:00
committed by GitHub
parent ff4f3a3734
commit 28092a510f
+3 -2
View File
@@ -268,7 +268,8 @@ async def uplinked_list(request):
else:
portnum = None
return await _packet_list(request, store.get_uplinked_packets(node_id, portnum), 'uplinked')
# does this needs a web.response ?
async def _packet_list(request, raw_packets, packet_event):
node_id = int(request.match_info["node_id"])
@@ -1090,4 +1091,4 @@ async def run_server(bind, port, tls_cert):
await site.start()
while True:
await asyncio.sleep(3600) # sleep forever
await asyncio.sleep(3600) # sleep forever