use actix_web::HttpRequest;
#[deprecated(note = "Use tenant/auth context helpers instead of X-Company-Id header access.")]
pub fn get_x_company_id(req: &HttpRequest) -> Option<String> {
req.headers()
.get("X-Company-Id")
.and_then(|h| h.to_str().ok())
.map(|s| s.to_string())
}