diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-10-08 21:05:37 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-10-08 21:05:37 -0400 |
| commit | 52274ba67d3b1cfef2dd6a5c08e67e68f1a6fc13 (patch) | |
| tree | 9903969d8a56601b04ccef9be886ab4b88ec3e0d /src/cli.rs | |
| parent | 10ccf6afafa2b2c3beab991505fc780e7f8d8357 (diff) | |
Stop passing an unused timestamp around when rotating VAPID keys.
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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(()) |
