env var name changed
This commit is contained in:
parent
43b79f92f6
commit
a4ff1df405
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ pub struct GetProgress {
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
let pg_url: String = env::var("POSTGRES")
|
let pg_url: String = env::var("PG_URL")
|
||||||
.ok()
|
.ok()
|
||||||
.and_then(|v| v.parse().ok())
|
.and_then(|v| v.parse().ok())
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue