mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-03 05:32:06 -05:00
fix: stripe action not running due to invalid env check in github action
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { responses } from "@/app/lib/api/response";
|
||||
import { reportUsageToStripe } from "@formbricks/ee/billing/lib/reportUsage";
|
||||
import { ProductFeatureKeys } from "@formbricks/ee/billing/lib/constants";
|
||||
import { CRON_SECRET, IS_FORMBRICKS_CLOUD } from "@formbricks/lib/constants";
|
||||
import { CRON_SECRET } from "@formbricks/lib/constants";
|
||||
import {
|
||||
getMonthlyActiveTeamPeopleCount,
|
||||
getMonthlyTeamResponseCount,
|
||||
@@ -17,10 +17,6 @@ async function reportTeamUsage(team: TTeam) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!IS_FORMBRICKS_CLOUD) {
|
||||
return;
|
||||
}
|
||||
|
||||
let calculateResponses =
|
||||
team.billing.features.inAppSurvey.status !== "inactive" && !team.billing.features.inAppSurvey.unlimited;
|
||||
let calculatePeople =
|
||||
|
||||
Reference in New Issue
Block a user