Skip to content

Commit

Permalink
fixed redis url
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Aug 25, 2022
1 parent 9eab119 commit 6708eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/big_luca/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl RedisRepository {
let config = Config::try_from_env()
.map_err(|_| anyhow::anyhow!("REDIS_URL is not SET; repository is not available"))?;
Ok(Self {
redis: RedisClient::connect(&config.database_url)
redis: RedisClient::connect(&config.redis_url)
.map_err(|e| anyhow::anyhow!("failed to connect to redis: {}", e))?,
})
}
Expand Down

0 comments on commit 6708eda

Please sign in to comment.