Use ChannelType enum on ChannelModifySchema

This commit is contained in:
Quat3rnion 2024-06-03 23:54:17 -04:00
parent 7d55bbea4b
commit 179b8d228a
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ pub struct ChannelCreateSchema {
#[serde(rename_all = "snake_case")]
pub struct ChannelModifySchema {
pub name: Option<String>,
pub channel_type: Option<u8>,
pub channel_type: Option<ChannelType>,
pub topic: Option<String>,
pub icon: Option<String>,
pub bitrate: Option<i32>,