rewrite group handler

This commit is contained in:
weisd
2025-01-21 16:44:55 +08:00
parent 4f1cbf72c6
commit 9535a9a7ad
6 changed files with 172 additions and 43 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ pub enum GroupStatus {
#[derive(Debug, Serialize, Deserialize)]
pub struct GroupAddRemove {
group: String,
pub group: String,
pub members: Vec<String>,
#[serde(rename = "groupStatus")]
pub status: GroupStatus,