Fixing routing issue
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ pub mod init {
|
|||||||
)
|
)
|
||||||
.route(
|
.route(
|
||||||
crate::caller::endpoints::GET_SCHEDULE_MESSAGE,
|
crate::caller::endpoints::GET_SCHEDULE_MESSAGE,
|
||||||
post(scheduling_endpoints::get_scheduled_messages).route_layer(
|
get(scheduling_endpoints::get_scheduled_messages).route_layer(
|
||||||
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>),
|
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user