diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-11 22:40:03 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-11 22:40:03 -0400 |
| commit | 812f1cafe3f8a68bf45b677fade7417c30d92eac (patch) | |
| tree | e2633472a31bd86bf08bcc16ddb4296df89064b4 /src/app.rs | |
| parent | a0abed5ea08b2fc5b9ac4abdade1199f62cd5da7 (diff) | |
Create APIs for inviting users.
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,6 +4,7 @@ use crate::{ boot::app::Boot, channel::app::Channels, event::{self, app::Events}, + invite::app::Invites, message::app::Messages, setup::app::Setup, token::{self, app::Tokens}, @@ -44,6 +45,10 @@ impl App { Events::new(&self.db, &self.events) } + pub const fn invites(&self) -> Invites { + Invites::new(&self.db) + } + #[cfg(test)] pub const fn logins(&self) -> Logins { Logins::new(&self.db, &self.events) |
