fix: add default serialization to owner email field (#856)

This commit is contained in:
Khor Shu Heng 2024-10-02 22:22:25 +08:00 committed by GitHub
parent 11732324b5
commit 56f8f395fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -574,6 +574,7 @@ pub struct AFWorkspace {
pub database_storage_id: Uuid,
pub owner_uid: i64,
pub owner_name: String,
#[serde(default)]
pub owner_email: String,
pub workspace_type: i32,
pub workspace_name: String,