Skip to content

Commit

Permalink
fix typo of env
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Dec 12, 2024
1 parent 11ff07b commit 974ec6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/middleware/timeout_middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub async fn timeout_15secs(
path, method, queries, headers
);
log::info!("Request timeout: {}", path);
let emails_enabled = std::env::var("ENABLE_408_EMIALS").unwrap_or("false".to_string());
let emails_enabled = std::env::var("ENABLE_408_EMAILS").unwrap_or("false".to_string());
if emails_enabled == "true" {
let _ = send_email(
email_body,
Expand Down

0 comments on commit 974ec6b

Please sign in to comment.