mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 00:01:49 +00:00
fix build
This commit is contained in:
@@ -251,7 +251,7 @@ impl TriggerCrud for WebsocketTrigger {
|
||||
Cow::Borrowed(&url)
|
||||
};
|
||||
|
||||
connect_async(connect_url.as_ref()).await.map_err(|err| {
|
||||
connect_async(&*connect_url).await.map_err(|err| {
|
||||
Error::BadConfig(format!(
|
||||
"Error connecting to WebSocket: {}",
|
||||
err.to_string()
|
||||
|
||||
@@ -173,7 +173,7 @@ impl Listener for WebsocketTrigger {
|
||||
Cow::Borrowed(&url)
|
||||
};
|
||||
|
||||
let connection = connect_async(connect_url.as_ref())
|
||||
let connection = connect_async(&*connect_url)
|
||||
.await
|
||||
.map(|conn| Some(conn))
|
||||
.map_err(|err| to_anyhow(err).into());
|
||||
|
||||
Reference in New Issue
Block a user