Merge pull request #394 from Routstr/fix-refund-token

fix refund token multiple times
This commit is contained in:
9qeklajc
2026-03-06 23:06:14 +01:00
committed by GitHub
+1
View File
@@ -205,6 +205,7 @@ async def refund_wallet_endpoint(
key: ApiKey = await validate_bearer_key(bearer_value, session)
if key.total_balance <= 0:
if cached := await _refund_cache_get(bearer_value):
return cached