mirror of
https://github.com/moghtech/komodo.git
synced 2026-08-24 16:00:18 +00:00
onboarded server needs to be enabled
This commit is contained in:
@@ -194,7 +194,10 @@ async fn onboard_server_handler(
|
||||
};
|
||||
|
||||
let config = if onboarding_key.copy_server.is_empty() {
|
||||
PartialServerConfig::default()
|
||||
PartialServerConfig {
|
||||
enabled: Some(true),
|
||||
..Default::default()
|
||||
}
|
||||
} else {
|
||||
let config = match db_client().servers.find_one(id_or_name_filter(&onboarding_key.copy_server)).await {
|
||||
Ok(Some(server)) => server.config,
|
||||
|
||||
Reference in New Issue
Block a user