mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-12 22:12:41 +02:00
Deleted some prints
This commit is contained in:
@ -24,9 +24,7 @@ async def display(link_id):
|
||||
@withdraw_ext.route("/img/<link_id>")
|
||||
async def img(link_id):
|
||||
link = await get_withdraw_link(link_id, 0) or abort(HTTPStatus.NOT_FOUND, "Withdraw link does not exist.")
|
||||
print(link)
|
||||
qr = pyqrcode.create(link.lnurl)
|
||||
print(qr)
|
||||
stream = BytesIO()
|
||||
qr.svg(stream, scale=3)
|
||||
return stream.getvalue(), 200, {
|
||||
|
Reference in New Issue
Block a user