Fixed endpoint routing issue
This commit is contained in:
+1
-1
@@ -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>,
|
||||||
)),
|
)),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user