huskies: merge 948
This commit is contained in:
@@ -167,7 +167,7 @@ pub fn build_routes(
|
||||
#[poem::handler]
|
||||
pub async fn rpc_http_handler(body: poem::web::Json<serde_json::Value>) -> poem::Response {
|
||||
let text = serde_json::to_string(&body.0).unwrap_or_default();
|
||||
match crate::crdt_sync::try_handle_rpc_text(&text) {
|
||||
match crate::crdt_sync::try_handle_rpc_text(&text).await {
|
||||
Some(response) => {
|
||||
let json = serde_json::to_string(&response).unwrap_or_default();
|
||||
poem::Response::builder()
|
||||
|
||||
Reference in New Issue
Block a user