From 708b79d979b17c1bb57055ddcbbdfcfad88903e1 Mon Sep 17 00:00:00 2001 From: 9qeklajc <9qeklajc> Date: Sat, 28 Jun 2025 22:38:06 +0200 Subject: [PATCH] fmt --- router/proxy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/router/proxy.py b/router/proxy.py index 12bf9e0b..50292d81 100644 --- a/router/proxy.py +++ b/router/proxy.py @@ -333,7 +333,9 @@ async def proxy( request, path, headers, request_body, key, session ) - if response.status_code != 200 and (key is not None and key.refund_address == "X-CASHU"): + if response.status_code != 200 and ( + key is not None and key.refund_address == "X-CASHU" + ): refund_token = await x_cashu_refund(key, session) response = Response( content=json.dumps(