From f082fb5fc888e1842e403a75fac0abe056569469 Mon Sep 17 00:00:00 2001 From: ff137 Date: Fri, 17 Nov 2023 12:15:46 +0200 Subject: [PATCH] :bug: fix wallet_update when only `extra_settings` requested Signed-off-by: ff137 --- aries_cloudagent/multitenant/admin/routes.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/aries_cloudagent/multitenant/admin/routes.py b/aries_cloudagent/multitenant/admin/routes.py index 6ae32f43a3..61e1414cff 100644 --- a/aries_cloudagent/multitenant/admin/routes.py +++ b/aries_cloudagent/multitenant/admin/routes.py @@ -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.")