fix: memebrs not member as endpoint

This commit is contained in:
BAaboe 2025-07-22 18:26:04 +02:00
parent ea33230e58
commit 31596c6bfe
3 changed files with 4 additions and 5 deletions

View file

@ -13,7 +13,7 @@ mod invites;
mod me;
mod stats;
mod users;
mod member;
mod members;
pub fn router(app_state: Arc<AppState>) -> Router<Arc<AppState>> {
let router_with_auth = Router::new()
@ -29,7 +29,7 @@ pub fn router(app_state: Arc<AppState>) -> Router<Arc<AppState>> {
Router::new()
.route("/stats", get(stats::res))
.nest("/auth", auth::router(app_state.clone()))
.nest("/channels", channels::router(app_state.clone()))
.nest("/member", member::router(app_state))
.nest("/channels", channels::router(app_state))
.nest("/members", members::router())
.merge(router_with_auth)
}