summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index e61672f..0f3f6ad 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -11,6 +11,7 @@ use crate::{
message::app::Messages,
setup::app::Setup,
token::{self, app::Tokens},
+ vapid::app::Vapid,
};
#[derive(Clone)]
@@ -69,4 +70,8 @@ impl App {
pub const fn users(&self) -> Users<'_> {
Users::new(&self.db, &self.events)
}
+
+ pub const fn vapid(&self) -> Vapid<'_> {
+ Vapid::new(&self.db, &self.events)
+ }
}