diff --git a/src/config/mod.rs b/src/config/mod.rs index ce2e588..6cb9a0d 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -136,6 +136,12 @@ pub mod init { axum::middleware::from_fn(crate::auth::auth::), ), ) + .route( + crate::caller::endpoints::CREATE_SCHEDULED_MESSAGE_EVENT, + post(scheduling_endpoints::create_scheduled_message_event).route_layer( + axum::middleware::from_fn(crate::auth::auth::), + ), + ) .layer(cors::configure_cors().await) }