From 3077365a2e6685f8033aaf1a380a6af505f81cb5 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Wed, 13 Nov 2024 16:23:14 +0100 Subject: [PATCH] correct error message --- crates/backend/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/backend/src/state.rs b/crates/backend/src/state.rs index 8bdb3c3..5c268da 100644 --- a/crates/backend/src/state.rs +++ b/crates/backend/src/state.rs @@ -34,7 +34,7 @@ mod config { let db_url = env::var("CHATDINGS_DB_URL") .expect("environment variable CHATDINGS_DB_URL has to exist"); let admin_token_path = env::var("CHATDINGS_ADMIN_TOKEN_PATH") - .expect("environment variable CHATDINGS_ADMIN_TOKEN has to exist"); + .expect("environment variable CHATDINGS_ADMIN_TOKEN_PATH has to exist"); let admin_token = fs::read_to_string(&admin_token_path) .expect(&format!("failed to read '{admin_token_path:?}'")) .trim()