impl webhook route

This commit is contained in:
qpismont committed 2026-05-18 22:40:28 +02:00
1 parent 2cf50b0168
commit e33187dc80
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,5 +1,6 @@
use dotenvy::dotenv;
pub struct EnvConfig {
pub http_port: u16,
pub bot_name: String,
@@ -9,7 +10,6 @@ pub fn load_config() -> anyhow::Result<EnvConfig> {
dotenv().ok();
let http_port = std::env::var("HTTP_PORT")?.parse()?;
let bot_name = std::env::var("BOT_NAME")?;
Ok(EnvConfig {