Skip to content

Commit

Permalink
Merge pull request #1494 from gorgsenegger/patch-2
Browse files Browse the repository at this point in the history
Fix TypeError
  • Loading branch information
ianco authored Nov 16, 2021
2 parents 4b06af1 + 5a571b1 commit 3734240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries_cloudagent/messaging/schemas/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ async def schemas_fix_schema_wallet_record(request: web.BaseRequest):

schema_id = request.match_info["schema_id"]

ledger = context.inject(BaseLedger, required=False)
ledger = context.inject_or(BaseLedger)
if not ledger:
reason = "No ledger available"
if not context.settings.get_value("wallet.type"):
Expand Down

0 comments on commit 3734240

Please sign in to comment.