forked from rDrama/rDrama
1
0
Fork 0

add XMR option

master
Aevann 2023-12-06 22:09:21 +02:00
parent 72613cdbd7
commit f56441e2d2
2 changed files with 2 additions and 1 deletions

View File

@ -2050,7 +2050,7 @@ def insert_transaction_post(v):
amount = request.values.get("amount", "").strip()
username = request.values.get("username", "").strip()
if type not in {'BTC', 'ETH'}:
if type not in {'BTC', 'ETH', 'XMR'}:
abort(400, "Invalid transaction currency!")
if not id:

View File

@ -18,6 +18,7 @@
<option hidden disabled selected value>-- select an option --</option>
<option value="BTC">BTC</option>
<option value="ETH">ETH</option>
<option value="XMR">XMR</option>
</select>
</div>