Skip to content

Commit

Permalink
🐛 fix wallet_update when only extra_settings requested
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed Nov 17, 2023
1 parent b51d988 commit f082fb5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion aries_cloudagent/multitenant/admin/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,14 @@ async def wallet_update(request: web.BaseRequest):
extra_settings = body.get("extra_settings") or {}

if all(
v is None for v in (wallet_webhook_urls, wallet_dispatch_type, label, image_url)
not v
for v in (
wallet_webhook_urls,
wallet_dispatch_type,
label,
image_url,
extra_settings,
)
):
raise web.HTTPBadRequest(reason="At least one parameter is required.")

Expand Down

0 comments on commit f082fb5

Please sign in to comment.