diff --git a/src/config/mod.rs b/src/config/mod.rs index decbfbe..a24887e 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -80,10 +80,10 @@ pub mod init { pub async fn routes() -> axum::Router { axum::Router::new() .route( - crate::callers::queue::endpoints::QUEUESONG, - post(crate::callers::queue::song::endpoint::queue_song).route_layer( - axum::middleware::from_fn(crate::auth::auth::), - ), + crate::caller::endpoints::ADD_CONTACT, + post(contact_endpoints::create_contact).route_layer(axum::middleware::from_fn( + crate::auth::auth::, + )), ) .layer(cors::configure_cors().await) }