Frank 5 months ago
parent
commit
32a045f60b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cloud/app/src/routes/zen/handler.ts

+ 1 - 0
cloud/app/src/routes/zen/handler.ts

@@ -548,6 +548,7 @@ export async function handler(
           .where(
             and(
               eq(BillingTable.workspaceID, apiKey.workspaceID),
+              eq(BillingTable.reload, true),
               lt(BillingTable.balance, centsToMicroCents(Billing.CHARGE_THRESHOLD)),
               or(isNull(BillingTable.timeReloadLockedTill), lt(BillingTable.timeReloadLockedTill, sql`now()`)),
             ),