diff --git a/backend/src/api/nft_api.py b/backend/src/api/nft_api.py index 2141856..7805dfd 100644 --- a/backend/src/api/nft_api.py +++ b/backend/src/api/nft_api.py @@ -268,7 +268,7 @@ def build_handle_text_map(family: str, table: str, chain: str) -> Dict[int, str] If the textual output cannot be retrieved, raises HTTPException. """ ensure_nft_available() - cmd = [NFT_BIN, "list", "chain", family, table, chain] + cmd = [NFT_BIN, "--handle", "list", "chain", family, table, chain] logger.debug("Listing chain text: %s", " ".join(cmd)) try: out = subprocess.check_output(cmd, stderr=subprocess.PIPE).decode()