summaryrefslogtreecommitdiff
path: root/src/expire.rs
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-10-03 23:30:42 -0400
committerKit La Touche <kit@transneptune.net>2024-10-03 23:30:42 -0400
commitd50b1b56c011c03c7d8a95242af404b727e91a80 (patch)
treeefe3408f6a8ef669981826d1a29d16a24b460d89 /src/expire.rs
parent30c13478d61065a512f5bc8824fecbf2ee6afc81 (diff)
parent7f12fd41c2941a55a6437f24e4f780104a718790 (diff)
Merge branch 'main' into feature-frontend
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)
}