forked from jmug/stoatchat
Merge remote-tracking branch 'origin/main' into chore/utoipa
This commit is contained in:
@@ -29,13 +29,6 @@ pub async fn fetch(db: &State<Database>, target: Reference<'_>) -> Result<Json<v
|
||||
name,
|
||||
description,
|
||||
..
|
||||
}
|
||||
| Channel::VoiceChannel {
|
||||
id,
|
||||
server,
|
||||
name,
|
||||
description,
|
||||
..
|
||||
} => {
|
||||
let server = db.fetch_server(&server).await?;
|
||||
|
||||
@@ -208,6 +201,7 @@ mod test {
|
||||
name: "Voice Channel".to_string(),
|
||||
description: None,
|
||||
nsfw: Some(false),
|
||||
voice: None
|
||||
},
|
||||
true,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user