From 00e9f0ad4816c45e0cb99d0a2dd733524ac923cf Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 7 Jun 2024 22:46:36 +0900 Subject: [PATCH] chore (backend-rs, minor): fix code style --- packages/backend-rs/src/service/antenna/process_new_note.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend-rs/src/service/antenna/process_new_note.rs b/packages/backend-rs/src/service/antenna/process_new_note.rs index 853fbccbe1..b9eed0eff8 100644 --- a/packages/backend-rs/src/service/antenna/process_new_note.rs +++ b/packages/backend-rs/src/service/antenna/process_new_note.rs @@ -81,5 +81,7 @@ async fn add_note_to_antenna(antenna_id: &str, note: &Note) -> Result<(), Error> .await?; // for streaming API - Ok(stream::antenna::publish(antenna_id.to_string(), note).await?) + stream::antenna::publish(antenna_id.to_string(), note).await?; + + Ok(()) }