diff --git a/libs/database-entity/src/dto.rs b/libs/database-entity/src/dto.rs index 14e6c038..58b722d9 100644 --- a/libs/database-entity/src/dto.rs +++ b/libs/database-entity/src/dto.rs @@ -320,6 +320,7 @@ pub struct AFUserProfile { pub metadata: Option, pub encryption_sign: Option, pub latest_workspace_id: Uuid, + pub updated_at: i64, } impl TryFrom for AFUserProfile { @@ -346,6 +347,7 @@ impl TryFrom for AFUserProfile { metadata: value.metadata, encryption_sign: value.encryption_sign, latest_workspace_id, + updated_at: value.updated_at.map(|v| v.timestamp()).unwrap_or(0), }) } }