Test updates.
This commit is contained in:
@@ -9,10 +9,14 @@ pub mod scheduled_transactions;
|
||||
pub mod transactions;
|
||||
|
||||
pub fn create_router(pool: sqlx::PgPool) -> axum::Router {
|
||||
let accounts = accounts::create_router();
|
||||
let scheduled_transactions = scheduled_transactions::create_router();
|
||||
let transactions = transactions::create_router();
|
||||
|
||||
let api = axum::Router::new()
|
||||
.nest("/accounts", accounts::create_router())
|
||||
.nest("/scheduled-transactions", scheduled_transactions::create_router())
|
||||
.nest("/transactions", transactions::create_router());
|
||||
.nest("/accounts", accounts)
|
||||
.nest("/scheduled-transactions", scheduled_transactions)
|
||||
.nest("/transactions", transactions);
|
||||
|
||||
axum::Router::new()
|
||||
.nest("/api", api)
|
||||
|
||||
Reference in New Issue
Block a user