Skip to content

Commit

Permalink
fix: get_auto_renewal_altcoins_data pipeline expiry date
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Mar 26, 2024
1 parent bce21fc commit 6664322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/src/pipelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub async fn get_auto_renewal_altcoins_data(
state: &Arc<AppState>,
) -> Result<Vec<DomainAggregateResult>> {
let auto_renews_collection = state.db.collection::<Domain>("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![
Expand Down

0 comments on commit 6664322

Please sign in to comment.