Fixed endpoint routing issue

This commit is contained in:
2026-06-17 14:51:16 -04:00
parent c9968818a4
commit 6cb57f5f41
+1 -1
View File
@@ -113,7 +113,7 @@ pub mod init {
) )
.route( .route(
crate::caller::endpoints::GET_MESSAGE, crate::caller::endpoints::GET_MESSAGE,
post(message_endpoints::get_messages).route_layer(axum::middleware::from_fn( get(message_endpoints::get_messages).route_layer(axum::middleware::from_fn(
crate::auth::auth::<axum::body::Body>, crate::auth::auth::<axum::body::Body>,
)), )),
) )