Skip to content

Commit 288bf0a

Browse files
committed
fixed metadata not being fetched
1 parent a0d1520 commit 288bf0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dkg/modules/asset/asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def get(self, ual: UAL, options: dict = {}) -> dict:
595595
),
596596
},
597597
}
598-
metadata = get_public_operation_result.get("data")
598+
metadata = get_public_operation_result.get("data", {}).get("metadata", None)
599599
assertion = get_public_operation_result.get("data", {}).get("assertion", None)
600600

601601
if not assertion:

0 commit comments

Comments
 (0)