feat: add profile data ingestion to metered plan reporting

This commit is contained in:
Nawaz Dhandala
2026-03-31 08:15:28 +01:00
parent 2fd7ede52f
commit 3dda45d2cc
2 changed files with 15 additions and 0 deletions

View File

@@ -1245,6 +1245,14 @@ export class BillingService extends BaseService {
return "price_1OQ8j0ANuQdJ93r7WGzR0p6j";
}
if (productType === ProductType.Profiles) {
if (this.isTestEnvironment()) {
return "price_1TGwUpANuQdJ93r7b9qxa5Se";
}
return "price_1TGwTDANuQdJ93r7s0jKRxaT";
}
throw new BadDataException(
"Plan with productType " + productType + " not found",
);