mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-28 13:42:42 +02:00
correct route
This commit is contained in:
@@ -582,7 +582,7 @@ async def api_fiat_as_sats(data: ConversionData):
|
||||
output["BTC"] = output["sats"] / 100000000
|
||||
return output
|
||||
|
||||
@withdraw_ext.get("/api/v1/qrcode/{data}", response_class=StreamingResponse)
|
||||
@core_app.get("/api/v1/qrcode/{data}", response_class=StreamingResponse)
|
||||
async def img(request: Request, data):
|
||||
qr = pyqrcode.create(data)
|
||||
stream = BytesIO()
|
||||
|
Reference in New Issue
Block a user