Extract some functions to the app module: preparation for integration tests.

This commit is contained in:
Greg Burri 2025-04-29 17:51:46 +02:00
parent 898f2e1160
commit 7f94159852
14 changed files with 605 additions and 521 deletions

View file

@ -20,8 +20,14 @@ use strum_macros::Display;
use tracing::{Level, event};
use crate::{
AppState, Context, Result, config::Config, consts, data::db, email, html_templates::*,
translation::Sentence, utils,
app::{AppState, Context, Result},
config::Config,
consts,
data::db,
email,
html_templates::*,
translation::Sentence,
utils,
};
const VALIDATION_TOKEN_KEY: &str = "validation_token";