Skip to content

Commit d92731f

Browse files
committed
chore(engine): set plan type according to paying field when missing
1 parent 57a3438 commit d92731f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/v3/runEngine.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function createRunEngine() {
144144
logger.warn("engine.getCurrentPlan: no v3 subscription plan", { orgId });
145145
return {
146146
isPaying: plan.v3Subscription.isPaying,
147-
type: "free",
147+
type: plan.v3Subscription.isPaying ? "paid" : "free",
148148
};
149149
}
150150

0 commit comments

Comments
 (0)