fix the bug

This commit is contained in:
Anton Chaporgin
2024-07-19 14:13:49 +03:00
parent d73b9b8afd
commit 8646fc8361

View File

@@ -354,7 +354,7 @@ async fn main() -> anyhow::Result<()> {
};
let redis_notifications_client = if let Some(url) = &args.redis_notifications {
Some(ConnectionWithCredentialsProvider::new_with_static_credentials(url))
Some(ConnectionWithCredentialsProvider::new_with_static_credentials(url.to_string()))
} else {
regional_redis_client.clone()
};