Extract some functions to the app module: preparation for integration tests.
This commit is contained in:
parent
898f2e1160
commit
7f94159852
14 changed files with 605 additions and 521 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue