fix unused variable (#4926)

This commit is contained in:
HugoCasa
2024-12-14 13:43:51 +01:00
committed by GitHub
parent 9365231531
commit 5cffab5e43
3 changed files with 3 additions and 0 deletions

View File

@@ -601,6 +601,7 @@ Windmill Community Edition {GIT_VERSION}
server_killpill_rx,
base_internal_tx,
server_mode,
#[cfg(feature = "smtp")]
base_internal_url.clone(),
)
.await?;

View File

@@ -134,6 +134,7 @@ impl ApiServer {
rx,
port_tx,
false,
#[cfg(feature = "smtp")]
format!("http://localhost:{}", addr.port()),
));

View File

@@ -174,6 +174,7 @@ pub async fn run_server(
mut rx: tokio::sync::broadcast::Receiver<()>,
port_tx: tokio::sync::oneshot::Sender<String>,
server_mode: bool,
#[cfg(feature = "smtp")]
base_internal_url: String,
) -> anyhow::Result<()> {
let user_db = UserDB::new(db.clone());