Skip to content

Commit

Permalink
tolerate missing rows_synced
Browse files Browse the repository at this point in the history
  • Loading branch information
raquelmsmith committed Nov 16, 2023
1 parent 820e6a7 commit af06e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/billing/billing_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def update_org_details(self, organization: Organization, billing_status: Billing
usage_info = OrganizationUsageInfo(
events=usage_summary["events"],
recordings=usage_summary["recordings"],
rows_synced=usage_summary["rows_synced"],
rows_synced=usage_summary.get("rows_synced", 0),
period=[
data["billing_period"]["current_period_start"],
data["billing_period"]["current_period_end"],
Expand Down

0 comments on commit af06e96

Please sign in to comment.