summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 971d1f9..e0d8b75 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -101,7 +101,7 @@ impl Args {
self.umask.set();
let pool = self.pool().await.fail("Failed to create database pool")?;
- let publisher = Publisher::new().fail("Failed to create web push publisher")?;
+ let publisher = Publisher::new(pool.clone()).fail("Failed to create web push publisher")?;
let app = App::from(pool, publisher);
match self.command {