Merge remote-tracking branch 'origin/main' into gerty

This commit is contained in:
ben 2022-12-08 13:45:50 +00:00
commit b6db683f30

View file

@ -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}
class AuthData(BaseModel): class AuthData(BaseModel):