Use ChannelType enum on ChannelModifySchema
This commit is contained in:
parent
7d55bbea4b
commit
179b8d228a
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue