diff --git a/eudi_wallet/ebsi/entry_points/server/routes/v2/config.py b/eudi_wallet/ebsi/entry_points/server/routes/v2/config.py index 59b9978..f66925a 100644 --- a/eudi_wallet/ebsi/entry_points/server/routes/v2/config.py +++ b/eudi_wallet/ebsi/entry_points/server/routes/v2/config.py @@ -766,7 +766,7 @@ async def handle_config_get_all_credential_offers( [ { **credential_offer_entity.to_dict(), - "credentialLabel": credential_offer_entity.get("credential", {}) + "credentialLabel": credential_offer_entity.to_dict().get("credential", {}) .get("type", [])[-1] .removesuffix("SdJwt"), }