From 812f1cafe3f8a68bf45b677fade7417c30d92eac Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 11 Oct 2024 22:40:03 -0400 Subject: Create APIs for inviting users. --- src/app.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/app.rs') diff --git a/src/app.rs b/src/app.rs index 69831ee..cb05061 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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) -- cgit v1.2.3