mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Fix bad refactoring
This commit is contained in:
parent
8372e37937
commit
7f81bc21c6
@ -43,7 +43,7 @@ impl HttpRequestHandler {
|
||||
let conv = conversations_helper::get_single(conv_membership.conv_id)?;
|
||||
|
||||
if !conv.is_linked_to_group() {
|
||||
self.bad_request("This conversation is not linked to a group, it can not be deleted this way!".to_string())?;
|
||||
self.bad_request("This conversation is not linked to a group, it can not be updated this way!".to_string())?;
|
||||
}
|
||||
|
||||
Ok(conv)
|
||||
|
Loading…
Reference in New Issue
Block a user