Update dependencies
This commit is contained in:
parent
91d9dff415
commit
605bf812a1
468
Cargo.lock
generated
468
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@ bytes = { version = "1.2.1" }
|
|||||||
config = { path = "../config" }
|
config = { path = "../config" }
|
||||||
futures = { version = "0.3.25" }
|
futures = { version = "0.3.25" }
|
||||||
model = { path = "../model" }
|
model = { path = "../model" }
|
||||||
rumqttc = { version = "0.17.0" }
|
rumqttc = { version = "*" }
|
||||||
serde = { version = "*", features = ['derive'] }
|
serde = { version = "*", features = ['derive'] }
|
||||||
strum = { version = "0.24.1", features = ['strum_macros', 'default', 'derive'] }
|
strum = { version = "0.24.1", features = ['strum_macros', 'default', 'derive'] }
|
||||||
tarpc = { version = "0.31.0", features = ["tokio1", "serde-transport-bincode", "serde-transport", "serde", "serde-transport-json", "tcp"] }
|
tarpc = { version = "0.31.0", features = ["tokio1", "serde-transport-bincode", "serde-transport", "serde", "serde-transport-json", "tcp"] }
|
||||||
|
@ -20,7 +20,7 @@ pub async fn create_order(
|
|||||||
tracing::error!("{}", e);
|
tracing::error!("{}", e);
|
||||||
Err(Error::InternalServerError)
|
Err(Error::InternalServerError)
|
||||||
} else {
|
} else {
|
||||||
mqtt.emit_order_created(&order.order);
|
mqtt.emit_order_created(&order.order).await;
|
||||||
Ok(order)
|
Ok(order)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user