Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(overage-billing): use relative delta and months, instead of days #5060

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

matthewelwell
Copy link
Contributor

Changes

Since a billing period for anyone on a monthly billing cycle is a month, not 30 days, we should use a month to determine the period in which we're looking for previous usage notifications.

How did you test this code?

TODO

Copy link

vercel bot commented Jan 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2025 3:47pm
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2025 3:47pm
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2025 3:47pm

@github-actions github-actions bot added api Issue related to the REST API fix labels Jan 30, 2025
Copy link
Contributor

github-actions bot commented Jan 30, 2025

Uffizzi Ephemeral Environment deployment-60455

☁️ https://app.uffizzi.com/github.com/Flagsmith/flagsmith/pull/5060

📄 View Application Logs etc.

What is Uffizzi? Learn more!

Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.43%. Comparing base (b0d0a80) to head (2527ff5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5060   +/-   ##
=======================================
  Coverage   97.43%   97.43%           
=======================================
  Files        1214     1214           
  Lines       42253    42254    +1     
=======================================
+ Hits        41169    41170    +1     
  Misses       1084     1084           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added fix and removed fix labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant