mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-24 07:46:25 +02:00
Merge pull request #1183 from lnbits/fix/extension/lndhub/status
Fix: LNDhub alias
This commit is contained in:
commit
25eec960f2
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user