From d85a28ecb408a05e9efae41e7ce4f5a707417875 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 9 Dec 2025 23:07:52 -0500 Subject: Small naming change to make the steps of key rotation easier to follow. --- src/vapid/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vapid') diff --git a/src/vapid/app.rs b/src/vapid/app.rs index 9949aa5..e696c18 100644 --- a/src/vapid/app.rs +++ b/src/vapid/app.rs @@ -19,7 +19,7 @@ impl Vapid { Self { db, events } } - pub async fn rotate_key(&self) -> Result<(), sqlx::Error> { + pub async fn revoke_key(&self) -> Result<(), sqlx::Error> { let mut tx = self.db.begin().await?; // This is called from a separate CLI utility (see `cli.rs`), and we _can't_ deliver events // to active clients from another process, so don't do anything that would require us to -- cgit v1.2.3