env var name changed

This commit is contained in:
Martin Brodbeck 2025-01-08 12:58:31 +01:00
parent 43b79f92f6
commit a4ff1df405

View file

@ -41,7 +41,7 @@ pub struct GetProgress {
#[tokio::main]
async fn main() {
let pg_url: String = env::var("POSTGRES")
let pg_url: String = env::var("PG_URL")
.ok()
.and_then(|v| v.parse().ok())
.unwrap();