Merge pull request #1183 from lnbits/fix/extension/lndhub/status
Fix: LNDhub alias
This commit is contained in:
commit
25eec960f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue