correct route
This commit is contained in:
parent
a6c84ceb61
commit
c7322fd071
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue