Fix card retrieval during AP profile generation
Committed 54c058
--- a/webint_owner/__init__.py
+++ b/webint_owner/__init__.py
"publicKeyPem": pubkey,
},
}
- card = app.model.get_identity()
+ card = app.model.get_identity()["card"]
if photo := card.get("photo"):
profile["icon"] = [{"type": "Image", "url": f"{tx.origin}/{photo}"}]
return profile