We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba48a2 commit bb60db6Copy full SHA for bb60db6
Source/Core/Extensions/OrganizationExtensions.cs
@@ -36,7 +36,7 @@ public static int GetHourlyEventLimit(this Organization organization) {
36
if (organization.MaxEventsPerMonth <= 0)
37
return Int32.MaxValue;
38
39
- int eventsLeftInMonth = organization.GetMaxEventsPerMonthWithBonus() - organization.GetCurrentMonthlyTotal();
+ int eventsLeftInMonth = organization.GetMaxEventsPerMonthWithBonus() - (organization.GetCurrentMonthlyTotal() - organization.GetCurrentMonthlyBlocked());
40
if (eventsLeftInMonth < 0)
41
return 0;
42
0 commit comments