forked from rDrama/rDrama
add SOL, DOGE, LTC options in /insert_transactions
parent
b2817d35cc
commit
5b0ecfb144
|
@ -2016,7 +2016,7 @@ def insert_transaction_post(v):
|
|||
amount = request.values.get("amount", "").strip()
|
||||
username = request.values.get("username", "").strip()
|
||||
|
||||
if type not in {'BMAC', 'BTC', 'ETH', 'XMR'}:
|
||||
if type not in {'BMAC', 'BTC', 'ETH', 'XMR', 'SOL', 'DOGE', 'LTC'}:
|
||||
abort(400, "Invalid transaction currency!")
|
||||
|
||||
if type == 'BMAC':
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
<option value="BTC">BTC</option>
|
||||
<option value="ETH">ETH</option>
|
||||
<option value="XMR">XMR</option>
|
||||
<option value="SOL">SOL</option>
|
||||
<option value="DOGE">DOGE</option>
|
||||
<option value="LTC">LTC</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue