Format
This commit is contained in:
parent
adb6f3e9f7
commit
fbdca993ff
3 changed files with 56 additions and 64 deletions
|
@ -19,10 +19,7 @@ impl Database {
|
|||
|
||||
#[cfg(test)]
|
||||
pub async fn create_root_channel(&self, name: &str, creator_id: UserId) -> Result<ChannelId> {
|
||||
Ok(self
|
||||
.create_channel(name, None, creator_id)
|
||||
.await?
|
||||
.id)
|
||||
Ok(self.create_channel(name, None, creator_id).await?.id)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue