diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs index e45c08d..fe26c4d 100644 --- a/src/api/core/accounts.rs +++ b/src/api/core/accounts.rs @@ -244,7 +244,7 @@ fn delete_account(data: JsonUpcase, 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() }