mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
Deleted some prints
This commit is contained in:
parent
3bfca5b7b7
commit
97e519d569
@ -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, {
|
||||
|
Loading…
Reference in New Issue
Block a user