diff --git a/demo/runners/support/agent.py b/demo/runners/support/agent.py index 2da2f5db62..a114ef00a3 100644 --- a/demo/runners/support/agent.py +++ b/demo/runners/support/agent.py @@ -313,9 +313,7 @@ async def fetch_cred_defs( return cred_defs_saved elif wallet_type == WALLET_TYPE_ANONCREDS: cred_defs_saved = await self.admin_GET("/anoncreds/credential-definitions") - return { - "credential_definition_ids": cred_defs_saved, - } + return cred_defs_saved else: raise Exception("Invalid wallet_type: " + str(wallet_type))