mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-20 01:56:27 +01:00
Fetch name/nip05/lud16
This commit is contained in:
@@ -50,7 +50,7 @@ def admin_make_database_updates(adminconfig: AdminConfig = None, dvmconfig: DVMC
|
||||
|
||||
|
||||
if whitelistuser:
|
||||
user = get_or_add_user(db, publickey)
|
||||
user = get_or_add_user(db, publickey, client=client)
|
||||
update_sql_table(db, user.npub, user.balance, True, False, user.nip05, user.lud16, user.name, user.lastactive)
|
||||
user = get_from_sql_table(db, publickey)
|
||||
print(str(user.name) + " is whitelisted: " + str(user.iswhitelisted))
|
||||
|
||||
Reference in New Issue
Block a user