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