Browse Source

Return revision date in miliseconds (fixes #127)

pull/128/head
Miroslav Prasil 7 years ago
parent
commit
58c1545707
  1. 2
      src/api/core/accounts.rs

2
src/api/core/accounts.rs

@ -244,6 +244,6 @@ fn delete_account(data: JsonUpcase<PasswordData>, headers: Headers, conn: DbConn
#[get("/accounts/revision-date")]
fn revision_date(headers: Headers) -> String {
let revision_date = headers.user.updated_at.timestamp();
let revision_date = headers.user.updated_at.timestamp_millis();
revision_date.to_string()
}

Loading…
Cancel
Save