fix db select
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
This commit is contained in:
@@ -133,8 +133,7 @@ class DatabasePool:
|
||||
# Select explicit columns to ensure predictable dict keys
|
||||
rows = await conn.fetch(
|
||||
"""
|
||||
SELECT id, iface, src_mac, dst_mac, eth_type, vlan_id, src_ip, dst_ip,
|
||||
ip_proto, src_port, dst_port, length, raw, created_at
|
||||
SELECT *
|
||||
FROM packets
|
||||
ORDER BY id DESC
|
||||
LIMIT $1
|
||||
|
||||
Reference in New Issue
Block a user