Skip to content

Commit f9d77e8

Browse files
committed
🎨 Default empty list
1 parent 592a510 commit f9d77e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/issuer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def extract_revoked_info(
133133
) -> Dict[str, Any]:
134134
if isinstance(values, dict) and "txn" in values:
135135
# This is a List of TransactionRecord
136-
txn_list: List[Dict[str, Any]] = values.get("txn")
136+
txn_list: List[Dict[str, Any]] = values.get("txn", [])
137137
cred_rev_ids_published = {}
138138

139139
for txn in txn_list:

0 commit comments

Comments
 (0)