mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-05 19:22:34 +02:00
testing push
This commit is contained in:
@@ -7,14 +7,14 @@ from . import tpos_ext
|
|||||||
from .crud import get_tpos
|
from .crud import get_tpos
|
||||||
|
|
||||||
|
|
||||||
@tpos_ext.route("/")
|
@tpos_ext.get("/")
|
||||||
@validate_uuids(["usr"], required=True)
|
@validate_uuids(["usr"], required=True)
|
||||||
@check_user_exists()
|
@check_user_exists()
|
||||||
async def index():
|
async def index():
|
||||||
return await render_template("tpos/index.html", user=g.user)
|
return await render_template("tpos/index.html", user=g.user)
|
||||||
|
|
||||||
|
|
||||||
@tpos_ext.route("/<tpos_id>")
|
@tpos_ext.get("/{tpos_id}")
|
||||||
async def tpos(tpos_id):
|
async def tpos(tpos_id):
|
||||||
tpos = await get_tpos(tpos_id)
|
tpos = await get_tpos(tpos_id)
|
||||||
if not tpos:
|
if not tpos:
|
||||||
|
Reference in New Issue
Block a user