fix: allow new_icon to be empty string

This commit is contained in:
Zack Fu Zi Xiang 2024-03-04 12:51:36 +08:00
parent a2ae0e65cd
commit e7013dd0f1
No known key found for this signature in database

View File

@ -135,6 +135,5 @@ pub struct ChangeWorkspaceIconPB {
pub workspace_id: String, pub workspace_id: String,
#[pb(index = 2)] #[pb(index = 2)]
#[validate(custom = "required_not_empty_str")]
pub new_icon: String, pub new_icon: String,
} }