The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(billing): retain original casing for `event_name` in Stripe meter… (#14204)
Antoine Moreaux98de9259eb2f
diff --git a/packages/twenty-server/src/engine/core-modules/billing/stripe/services/stripe-billing-meter-event.service.ts b/packages/twenty-server/src/engine/core-modules/billing/stripe/services/stripe-billing-meter-event.service.tsindex a318da4233e..e72f8375e21 100644--- a/packages/twenty-server/src/engine/core-modules/billing/stripe/services/stripe-billing-meter-event.service.ts+++ b/packages/twenty-server/src/engine/core-modules/billing/stripe/services/stripe-billing-meter-event.service.ts@@ -35,7 +35,7 @@ export class StripeBillingMeterEventService {stripeCustomerId: string;}) {await this.stripe.billing.meterEvents.create({- event_name: eventName.toLowerCase(),+ event_name: eventName,payload: {value: value.toString(),stripe_customer_id: stripeCustomerId,