updated theming and fixed warnings
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::error::AppError;
|
||||
use axum::http::HeaderMap;
|
||||
use tracing::warn;
|
||||
use crate::error::AppError;
|
||||
|
||||
pub fn check_auth(headers: &HeaderMap, admin_token: &str) -> Result<(), AppError> {
|
||||
let auth_header = headers.get("Authorization").and_then(|h| h.to_str().ok());
|
||||
|
||||
Reference in New Issue
Block a user