Route fix

This commit is contained in:
2026-06-18 13:53:58 -04:00
parent df97d73d4f
commit 1fec37b09a
+6
View File
@@ -130,6 +130,12 @@ pub mod init {
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>),
),
)
.route(
crate::caller::endpoints::GET_SCHEDULE_MESSAGE,
post(scheduling_endpoints::get_scheduled_messages).route_layer(
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>),
),
)
.layer(cors::configure_cors().await)
}