summaryrefslogtreecommitdiff
path: root/src/expire.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/expire.rs')
-rw-r--r--src/expire.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expire.rs b/src/expire.rs
index e50bcb4..eaedc44 100644
--- a/src/expire.rs
+++ b/src/expire.rs
@@ -14,6 +14,7 @@ pub async fn middleware(
next: Next,
) -> Result<Response, Internal> {
app.tokens().expire(&expired_at).await?;
+ app.invites().expire(&expired_at).await?;
app.messages().expire(&expired_at).await?;
app.channels().expire(&expired_at).await?;
Ok(next.run(req).await)