Change last opened field to u64

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent cadf866cd7
commit 03718e9a67

@ -124,7 +124,7 @@ pub async fn select_repository(
SystemTime::now()
.duration_since(UNIX_EPOCH)
.unwrap()
.as_millis(),
.as_secs(),
);
*active_repo = Some(repo.clone());

@ -14,7 +14,7 @@ pub struct Repository {
pub(crate) path: Option<String>,
pub(crate) address: Option<String>,
pub(crate) local: bool,
pub(crate) last_opened: Option<u128>,
pub(crate) last_opened: Option<u64>,
}
#[derive(DeserializePiecewiseDefault, Debug, Serialize)]

Loading…
Cancel
Save