This commit is contained in:
2026-05-16 17:57:54 +02:00
parent 1a2ec26f27
commit b2cefb7d66
55 changed files with 1654 additions and 334 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
use axum::{Router, routing::get};
use crate::core::state::AppState;
use axum::{routing::get, Router};
use super::handlers;
pub fn router() -> Router {
pub fn router() -> Router<AppState> {
Router::new()
.route("/groups", get(handlers::get_all).post(handlers::create))
.route(