Fix timestamp for 'getLatestImportTime'
This commit is contained in:
parent
15af617614
commit
fdb385c5c6
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ impl Client {
|
|||
}
|
||||
|
||||
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")?)
|
||||
} else {
|
||||
bail!("RPC result is null");
|
||||
|
|
Loading…
Reference in a new issue