mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: added created at field for UserWorkspacePB
This commit is contained in:
@ -225,6 +225,9 @@ pub struct UserWorkspacePB {
|
||||
|
||||
#[pb(index = 2)]
|
||||
pub name: String,
|
||||
|
||||
#[pb(index = 3)]
|
||||
pub created_at_timestamp: i64,
|
||||
}
|
||||
|
||||
impl From<UserWorkspace> for UserWorkspacePB {
|
||||
@ -232,6 +235,7 @@ impl From<UserWorkspace> for UserWorkspacePB {
|
||||
Self {
|
||||
workspace_id: value.id,
|
||||
name: value.name,
|
||||
created_at_timestamp: value.created_at.timestamp(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user