Added AppState.

This commit is contained in:
2026-10-12 13:05:38 +02:00
parent 0b0c72b337
commit e963947bf8
12 changed files with 31 additions and 15 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ use super::{
};
use crate::{domain, error::AppError, repository};
pub fn create_router() -> axum::Router<PgPool> {
pub fn create_router() -> axum::Router<crate::state::AppState> {
axum::Router::new()
.route("/", axum::routing::get(list_transactions))
.route(