mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 22:58:46 +01:00
fix migration tests
This commit is contained in:
parent
393d1a8204
commit
622d0f50da
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from lnbits.helpers import urlsafe_short_hash
|
|||
|
||||
|
||||
async def get_admin_user():
|
||||
if conf.admin_users[0]:
|
||||
if len(conf.admin_users) > 0:
|
||||
return conf.admin_users[0]
|
||||
from lnbits.core.crud import create_account, get_user
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue