Removed ability to update charge, as caused too many issues

This commit is contained in:
Ben Arc
2021-04-08 01:01:10 +01:00
parent 2d8f85f77c
commit b7090d963b
3 changed files with 13 additions and 89 deletions
-1
View File
@@ -36,7 +36,6 @@ from .crud import (
}
)
async def api_charge_create_or_update(charge_id=None):
if not charge_id:
charge = await create_charge(user=g.wallet.user, **g.data)
return jsonify(charge._asdict()), HTTPStatus.CREATED