fix: memebrs not member as endpoint
This commit is contained in:
parent
ea33230e58
commit
31596c6bfe
3 changed files with 4 additions and 5 deletions
17
src/api/v1/members/mod.rs
Normal file
17
src/api/v1/members/mod.rs
Normal 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))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue