diff --git a/src/helpers/conversations_helper.rs b/src/helpers/conversations_helper.rs index 9fd7f7b..c0ef16e 100644 --- a/src/helpers/conversations_helper.rs +++ b/src/helpers/conversations_helper.rs @@ -31,7 +31,7 @@ pub fn create(conv: &NewConversation) -> Res { .ok_or(ExecError::new("missing result conv id!"))?; // Add the creator of the conversation - add_member(conv_id, &conv.owner_id, conv.owner_following, true, &conv.owner_id); + add_member(conv_id, &conv.owner_id, conv.owner_following, true, &conv.owner_id)?; // Add other members to the conversation for member in &conv.members {