style: cargo fmt
This commit is contained in:
parent
e8b8b49643
commit
e8a9857e19
13 changed files with 87 additions and 41 deletions
|
@ -83,7 +83,9 @@ pub async fn ws(
|
|||
|
||||
let message_body: MessageBody = serde_json::from_str(&text)?;
|
||||
|
||||
let message = channel.new_message(&data, uuid, message_body.message, message_body.reply_to).await?;
|
||||
let message = channel
|
||||
.new_message(&data, uuid, message_body.message, message_body.reply_to)
|
||||
.await?;
|
||||
|
||||
redis::cmd("PUBLISH")
|
||||
.arg(&[channel_uuid.to_string(), serde_json::to_string(&message)?])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue