]> git.mxchange.org Git - fba.git/blobdiff - daemon.py
Continued:
[fba.git] / daemon.py
index a8c0eb9a04d7d0d1afad9c7a0ab2854775b1ffee..459f0fc22967d522da551677d4ccd5cc23d9b729 100755 (executable)
--- a/daemon.py
+++ b/daemon.py
@@ -113,9 +113,9 @@ def api_list(request: Request, mode: str, value: str, amount: int):
 
     domain = wildchar = punycode = reason = None
 
-    if mode in ("detection_mode", "software"):
+    if mode in ("detection_mode", "software", "command"):
         database.cursor.execute(
-            f"SELECT domain, origin, software, command, total_peers, total_blocks, first_seen, last_updated \
+            f"SELECT domain, origin, software, detection_mode, command, total_peers, total_blocks, first_seen, last_updated \
 FROM instances \
 WHERE {mode} = ? \
 ORDER BY domain \