Update src/api/channels/channels.rs
Co-authored-by: SpecificProtagonist <specificprotagonist@posteo.org>
This commit is contained in:
parent
1e0783e30e
commit
f554244143
|
@ -88,11 +88,7 @@ impl Channel {
|
|||
user,
|
||||
crate::api::limits::LimitType::Channel,
|
||||
)
|
||||
.await
|
||||
{
|
||||
Ok(channel) => channel,
|
||||
Err(e) => return Err(e),
|
||||
};
|
||||
.await?;
|
||||
let _ = std::mem::replace(self, new_channel);
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue