Added it
Rust Build / Test Suite (pull_request) Failing after 52s
Rust Build / Rustfmt (pull_request) Successful in 54s
Rust Build / Check (pull_request) Failing after 1m26s
Rust Build / Clippy (pull_request) Failing after 44s
Rust Build / build (pull_request) Failing after 3m11s
Rust Build / Test Suite (pull_request) Failing after 52s
Rust Build / Rustfmt (pull_request) Successful in 54s
Rust Build / Check (pull_request) Failing after 1m26s
Rust Build / Clippy (pull_request) Failing after 44s
Rust Build / build (pull_request) Failing after 3m11s
This commit is contained in:
+4
-4
@@ -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::<axum::body::Body>),
|
||||
),
|
||||
crate::caller::endpoints::ADD_CONTACT,
|
||||
post(contact_endpoints::create_contact).route_layer(axum::middleware::from_fn(
|
||||
crate::auth::auth::<axum::body::Body>,
|
||||
)),
|
||||
)
|
||||
.layer(cors::configure_cors().await)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user