From 4018709aafb2e582e828516632f7e69fe68cf6c8 Mon Sep 17 00:00:00 2001 From: Tim Gorgs Date: Wed, 24 Nov 2021 11:40:05 +0100 Subject: [PATCH] Fix AttributeError --- aries_cloudagent/messaging/credential_definitions/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aries_cloudagent/messaging/credential_definitions/routes.py b/aries_cloudagent/messaging/credential_definitions/routes.py index d35c5f61bf..58f2247a56 100644 --- a/aries_cloudagent/messaging/credential_definitions/routes.py +++ b/aries_cloudagent/messaging/credential_definitions/routes.py @@ -411,7 +411,7 @@ async def credential_definitions_fix_cred_def_wallet_record(request: web.BaseReq }, ) if 0 == len(found): - await ledger.add_cred_def_non_secrets_record( + await add_cred_def_non_secrets_record( session.profile, schema_id, iss_did, cred_def_id )