Making endpoint available

This commit is contained in:
2026-06-17 14:44:30 -04:00
parent 24dca570a5
commit c9968818a4
+6
View File
@@ -111,6 +111,12 @@ pub mod init {
crate::auth::auth::<axum::body::Body>, crate::auth::auth::<axum::body::Body>,
)), )),
) )
.route(
crate::caller::endpoints::GET_MESSAGE,
post(message_endpoints::get_messages).route_layer(axum::middleware::from_fn(
crate::auth::auth::<axum::body::Body>,
)),
)
.layer(cors::configure_cors().await) .layer(cors::configure_cors().await)
} }