mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix no id on import3 servers
This commit is contained in:
parent
cb1490724c
commit
b445d085c8
@ -74,6 +74,7 @@ class Import3:
|
||||
min_mem=(int(server["memory_min"]) / 1000),
|
||||
max_mem=(int(server["memory_max"]) / 1000),
|
||||
port=server["server_port"],
|
||||
user_id=HelperUsers.get_user_id_by_name("system"),
|
||||
)
|
||||
Console.info(
|
||||
f"Imported server {server['server_name']}[{server['id']}] "
|
||||
@ -91,6 +92,7 @@ class Import3:
|
||||
min_mem=(int(json_data["memory_min"]) / 1000),
|
||||
max_mem=(int(json_data["memory_max"]) / 1000),
|
||||
port=json_data["server_port"],
|
||||
user_id=HelperUsers.get_user_id_by_name("system"),
|
||||
)
|
||||
Console.info(
|
||||
f"Imported server {json_data['server_name']}[{json_data['id']}] "
|
||||
|
Loading…
Reference in New Issue
Block a user