mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 06:35:23 +01:00
fix for whitespace in admin users list
This commit is contained in:
parent
4c18eb0b34
commit
d1d62583c4
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,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=LNBITS_ADMIN_USERS and user["id"] in LNBITS_ADMIN_USERS
|
||||
admin=LNBITS_ADMIN_USERS and user["id"] in [x.strip() for x in LNBITS_ADMIN_USERS]
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue