New endpoint 'members' with get and delete
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
BAaboe 2025-07-22 17:29:55 +02:00
parent f5d4211fad
commit 82f4388dab
4 changed files with 108 additions and 2 deletions

View file

@ -13,6 +13,7 @@ mod invites;
mod me;
mod stats;
mod users;
mod members;
pub fn router(app_state: Arc<AppState>) -> Router<Arc<AppState>> {
let router_with_auth = Router::new()
@ -28,6 +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))
.nest("/channels", channels::router(app_state.clone()))
.nest("/members", members::router(app_state))
.merge(router_with_auth)
}