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

@ -7,7 +7,11 @@ use axum::{
use serde::Deserialize;
// use tracing::{event, Level};
use crate::{Context, Result, data::db, html_templates::*};
use crate::{
app::{Context, Result},
data::db,
html_templates::*,
};
#[derive(Deserialize)]
pub struct CurrentRecipeId {