summaryrefslogtreecommitdiff
path: root/src/expire.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/expire.rs')
-rw-r--r--src/expire.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expire.rs b/src/expire.rs
index 16006d1..e50bcb4 100644
--- a/src/expire.rs
+++ b/src/expire.rs
@@ -13,8 +13,8 @@ pub async fn middleware(
req: Request,
next: Next,
) -> Result<Response, Internal> {
- app.logins().expire(&expired_at).await?;
- app.events().expire(&expired_at).await?;
+ app.tokens().expire(&expired_at).await?;
+ app.messages().expire(&expired_at).await?;
app.channels().expire(&expired_at).await?;
Ok(next.run(req).await)
}