fix raise error on delete request

This commit is contained in:
Tiago Vasconcelos
2022-11-17 14:47:52 +02:00
committed by Vlad Stan
parent 7cd6dde39e
commit 7d7a2b67ee
15 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ async def api_charge_delete(charge_id, wallet: WalletTypeInfo = Depends(get_key_
)
await delete_charge(charge_id)
raise HTTPException(status_code=HTTPStatus.NO_CONTENT)
return "", HTTPStatus.NO_CONTENT
#############################BALANCE##########################