1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-26 05:50:29 +01:00

Return revision date in miliseconds (fixes #127)

Dieser Commit ist enthalten in:
Miroslav Prasil 2018-08-10 17:17:44 +01:00
Ursprung 56b3afa77c
Commit 58c1545707

Datei anzeigen

@ -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()
}