lnbits-legend/lnbits/extensions/TwitchAlerts/views.py

13 lines
318 B
Python
Raw Normal View History

2021-06-20 06:34:01 +02:00
from quart import g, render_template
from lnbits.decorators import check_user_exists, validate_uuids
from . import TwitchAlerts_ext
@TwitchAlerts_ext.route("/")
@validate_uuids(["usr"], required=True)
@check_user_exists()
async def index():
return await render_template("TwitchAlerts/index.html", user=g.user)