mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-26 17:51:53 +01:00
Update views.py
This commit is contained in:
parent
1b82df8094
commit
ba9449db23
@ -23,4 +23,4 @@ def tpos(tpos_id):
|
||||
r = requests.get("https://api.opennode.co/v1/rates")
|
||||
r_json = r.json()
|
||||
rr = get_wallet(tpos.wallet)
|
||||
return render_template("tpos/tpos.html", tpos=tpos.id, inkey=rr.inkey, rate=r_json["data"]["BTC" + tpos.currency][tpos.currency])
|
||||
return render_template("tpos/tpos.html", tpos=tpos.id, inkey=rr.inkey, rate=r_json["data"]["BTC" + tpos.currency][tpos.currency], curr=tpos.currency)
|
||||
|
Loading…
x
Reference in New Issue
Block a user