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

17
src/api/v1/members/mod.rs Normal file
View file

@ -0,0 +1,17 @@
use std::sync::Arc;
use axum::{
Router,
middleware::from_fn_with_state,
routing::{any, delete, get, patch},
};
use crate::{AppState, api::v1::auth::CurrentUser};
mod uuid;
pub fn router() -> Router<Arc<AppState>> {
Router::new()
.route("/{uuid}", get(uuid::get))
.route("/{uuid}", delete(uuid::delete))
}