collab: Don't record billing events if billing is not enabled (#19102)
This PR adjusts the billing logic to not write any records to `billing_events` if: - The user is staff, as we don't want to bill staff members - Billing is disabled (we currently enable billing based on the presence of the Stripe API key) Release Notes: - N/A
M
Marshall Bowers committed
c709b66f35d7e6d07b2754933bf962aa7d01ecef
Parent: b739cfa
Committed by GitHub <noreply@github.com>
on 10/11/2024, 9:54:10 PM