Merge pull request #1183 from lnbits/fix/extension/lndhub/status

Fix: LNDhub alias
This commit is contained in:
calle 2022-12-08 14:20:05 +01:00 committed by GitHub
commit 25eec960f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ from .utils import decoded_as_lndhub, to_buffer
@lndhub_ext.get("/ext/getinfo")
async def lndhub_getinfo():
raise HTTPException(status_code=HTTPStatus.UNAUTHORIZED, detail="bad auth")
return {"alias": LNBITS_SITE_TITLE}
class AuthData(BaseModel):