Added account member API.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user