summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 263a4fd..8d73109 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -10,7 +10,6 @@ use axum::{
middleware,
response::{IntoResponse, Response},
};
-use chrono::Utc;
use clap::{CommandFactory, Parser, Subcommand};
use sqlx::sqlite::SqlitePool;
use tokio::net;
@@ -102,7 +101,7 @@ impl Args {
match self.command {
None => self.serve(app).await?,
- Some(Command::RotateVapidKey) => app.vapid().rotate_key(&Utc::now()).await?,
+ Some(Command::RotateVapidKey) => app.vapid().rotate_key().await?,
}
Result::<_, Error>::Ok(())