diff --git a/bot/src/pipelines.rs b/bot/src/pipelines.rs index c63d0cc..ba8a021 100644 --- a/bot/src/pipelines.rs +++ b/bot/src/pipelines.rs @@ -110,7 +110,7 @@ pub async fn get_auto_renewal_altcoins_data( state: &Arc, ) -> Result> { let auto_renews_collection = state.db.collection::("auto_renew_flows_altcoins"); - let min_expiry_date = Utc::now() + Duration::days(400); // todo : change to 30 days + let min_expiry_date = Utc::now() + Duration::days(config.renewals.expiry_days); // Define aggregate pipeline let pipeline = vec![