Skip to content

Commit cb71249

Browse files
committed
be more explicit with plan type fallback
1 parent 2435f39 commit cb71249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal-packages/run-engine/src/engine/systems/dequeueSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export class DequeueSystem {
401401
}
402402
);
403403

404-
isPaying = lockedTaskRun.planType !== null && lockedTaskRun.planType !== "free";
404+
isPaying = (lockedTaskRun.planType ?? "free") !== "free";
405405
} else {
406406
isPaying = billingResult.val.isPaying;
407407
}

0 commit comments

Comments
 (0)