Added account member API.

This commit is contained in:
2026-10-11 10:00:04 +02:00
parent 6ee0317186
commit 21f0c17af9
27 changed files with 994 additions and 8 deletions
+5
View File
@@ -2,6 +2,7 @@ use axum::{http::StatusCode, routing::get};
use crate::error::AppError;
mod account_members;
mod accounts;
mod auth_passkey;
mod auth_token;
@@ -19,6 +20,10 @@ pub fn create_router(pool: sqlx::PgPool) -> axum::Router {
.nest("/auth/passkey", auth_passkey::create_router())
.nest("/auth/token", auth_token::create_router())
.nest("/accounts", accounts::create_router())
.nest(
"/accounts/{account_id}/members",
account_members::create_router(),
)
.nest(
"/scheduled-transactions",
scheduled_transactions::create_router(),