Fix timestamp for 'getLatestImportTime'

This commit is contained in:
Dominic Grimm 2023-02-26 23:30:41 +01:00
parent 15af617614
commit fdb385c5c6
No known key found for this signature in database
GPG Key ID: 6F294212DEAAC530
1 changed files with 1 additions and 1 deletions

View File

@ -720,7 +720,7 @@ impl Client {
} }
if let Some(x) = resp.result { if let Some(x) = resp.result {
Ok(chrono::NaiveDateTime::from_timestamp_opt(x, 0) Ok(chrono::NaiveDateTime::from_timestamp_millis(x)
.context("Could not convert Unix timestamp to NaiveDateTime")?) .context("Could not convert Unix timestamp to NaiveDateTime")?)
} else { } else {
bail!("RPC result is null"); bail!("RPC result is null");