Got auth functioning

This commit is contained in:
kdeng00
2025-07-30 20:46:55 -04:00
parent c9f6fab746
commit 7ecb4d5c4b
2 changed files with 37 additions and 5 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ pub mod init {
crate::callers::endpoints::QUEUESONG,
post(crate::callers::song::endpoint::queue_song)
// .route_layer(axum::middleware::from_fn_with_state(app_state.clone(), crate::auth::auth)),
// .route_layer(axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>)),
.route_layer(axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>)),
)
.route(
crate::callers::endpoints::QUEUESONG,