Merge branch 'main' into diagon-alley

This commit is contained in:
benarc 2022-02-11 11:18:24 +00:00
commit bc68b924e5

View file

@ -61,6 +61,7 @@ async def get_user(user_id: str, conn: Optional[Connection] = None) -> Optional[
email=user["email"],
extensions=[e[0] for e in extensions],
wallets=[Wallet(**w) for w in wallets],
admin=user["id"] in [x.strip() for x in LNBITS_ADMIN_USERS] if LNBITS_ADMIN_USERS else False
)