Resolve some TODOs

This commit is contained in:
2025-03-20 21:00:29 +01:00
parent 133d0de084
commit c6757f477a
3 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,5 @@
use crate::app_config::AppConfig;
use crate::services::tokens_service;
use std::time::Duration;
/// The "cron" of the project
@ -20,6 +21,9 @@ pub async fn main_routine() {
async fn exec_routine() -> anyhow::Result<()> {
// TODO : remove orphan attachment
// TODO : remove outdated tokens
// Remove expired tokens
tokens_service::cleanup().await?;
Ok(())
}