Skip to content

Commit 9deed1e

Browse files
author
Alan Christie
committed
fix: Fix claim (was blank)
1 parent 814d69b commit 9deed1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/coins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ def main(c_args: argparse.Namespace) -> None:
9393
invoice: Dict[str, Any] = {
9494
"Product": product_id,
9595
"Product Name": product_name,
96-
"Claim ID": pc_rv.msg.get("claim_id", "Unclaimed"),
97-
"Claim Name": pc_rv.msg.get("claim_name", "Undefined"),
96+
"Claim": (p_rv.msg["product"].get("claim", {}).get("id", "-"),
97+
p_rv.msg["product"].get("claim", {}).get("name", "-"),),
9898
"Allowance": str(allowance),
9999
"Allowance Multiplier": str(allowance_multiplier),
100100
"Limit": str(limit),

0 commit comments

Comments
 (0)