File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55from app .nats .node_rpc import node_nats_client
66from app .nats .proto_utils import serialize_proto_message , serialize_proto_messages
77from app .node import node_manager
8- from app .node .user import serialize_users_for_node , serialize_user , _serialize_user_for_node
8+ from app .node .user import _serialize_user_for_node , serialize_user , serialize_users_for_node
99from app .utils .logger import get_logger
1010from config import runtime_settings
1111
@@ -48,7 +48,7 @@ async def remove_users(users: list[User]) -> None:
4848 """Batch-remove users from nodes (serialized without inbounds so nodes drop them)."""
4949 if not users :
5050 return
51- proto_users = [_serialize_user_for_node (u .id , u .username , u . proxy_settings ) for u in users ]
51+ proto_users = [_serialize_user_for_node (u .id , u .proxy_settings ) for u in users ]
5252 asyncio .create_task (_dispatch_users_update (proto_users ))
5353
5454
You can’t perform that action at this time.
0 commit comments