mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
feat: add profile data ingestion to metered plan reporting
This commit is contained in:
@@ -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",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user