Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from ffaraone/fix_active_subs_end_date
Browse files Browse the repository at this point in the history
Fix mispelled filter for created at for active subscriptions
  • Loading branch information
vgrebenschikov authored Jun 19, 2023
2 parents 6053bb5 + 9d970c7 commit 6f9cd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reports/ms_cooper/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def generate(

# Handling Active first
rqlactive = R().status.oneof(['active','suspended']) & R().product.id.oneof(PRODUCTS)
rqlactive &= R().events.created.lt(last_day_of_prev_month)
rqlactive &= R().events.created.at.lt(last_day_of_prev_month)
sub_active_suspended = (
client.ns('subscriptions')
.collection('assets')
Expand Down

0 comments on commit 6f9cd8b

Please sign in to comment.