Got it working
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ pub mod init {
|
||||
)
|
||||
.route(
|
||||
crate::caller::endpoints::SCHEDULE_MESSAGE,
|
||||
get(scheduling_endpoints::schedule_message).route_layer(axum::middleware::from_fn(
|
||||
post(scheduling_endpoints::schedule_message).route_layer(axum::middleware::from_fn(
|
||||
crate::auth::auth::<axum::body::Body>,
|
||||
)),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user