fix compile

This commit is contained in:
Ruben Fiszel
2025-04-28 19:52:33 +02:00
parent 0dce943cf2
commit 6e83bc1354
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ pub fn workspaced_service(
_base_internal_url: String,
) -> (
Router,
Option<tokio::task::JoinHandle<()>>,
Vec<tokio::task::JoinHandle<()>>,
Option<windmill_worker::JobCompletedSender>,
) {
use windmill_common::worker::Connection;
@@ -32,7 +32,7 @@ pub fn workspaced_service(
let router = Router::new();
(router, None, Some(job_completed_tx))
(router, vec![], Some(job_completed_tx))
}
#[derive(Clone, Debug, Deserialize, Serialize)]
+1 -1
View File
@@ -488,7 +488,7 @@ pub async fn run_server(
if server_mode {
agent_workers_ee::workspaced_service(db.clone(), _base_internal_url.clone())
} else {
(Router::new(), None, None)
(Router::new(), vec![], None)
};
#[cfg(feature = "agent_worker_server")]