mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-27 12:26:19 +02:00
fix for #1182
This commit is contained in:
@@ -21,7 +21,7 @@ from .utils import decoded_as_lndhub, to_buffer
|
|||||||
|
|
||||||
@lndhub_ext.get("/ext/getinfo")
|
@lndhub_ext.get("/ext/getinfo")
|
||||||
async def lndhub_getinfo():
|
async def lndhub_getinfo():
|
||||||
raise HTTPException(status_code=HTTPStatus.UNAUTHORIZED, detail="bad auth")
|
return {"alias": LNBITS_SITE_TITLE + " - LndHub"}
|
||||||
|
|
||||||
|
|
||||||
class AuthData(BaseModel):
|
class AuthData(BaseModel):
|
||||||
|
Reference in New Issue
Block a user