fix(ops-service): add new TenantInfo quota fields to inline TenantContextService.run calls

This commit is contained in:
hailin 2026-03-04 00:04:36 -08:00
parent ffe06fab7a
commit d96ea91815
1 changed files with 8 additions and 0 deletions

View File

@ -94,6 +94,10 @@ export class StandingOrderExecutorService implements OnModuleInit {
tenantName: tenant.name, tenantName: tenant.name,
plan: 'pro', plan: 'pro',
schemaName: `it0_t_${tenant.slug}`, schemaName: `it0_t_${tenant.slug}`,
maxServers: -1,
maxUsers: -1,
maxStandingOrders: -1,
maxAgentTokensPerMonth: -1,
}, },
async () => { async () => {
const activeOrders = const activeOrders =
@ -168,6 +172,10 @@ export class StandingOrderExecutorService implements OnModuleInit {
tenantName: tenant.name, tenantName: tenant.name,
plan: 'pro', plan: 'pro',
schemaName: `it0_t_${tenant.slug}`, schemaName: `it0_t_${tenant.slug}`,
maxServers: -1,
maxUsers: -1,
maxStandingOrders: -1,
maxAgentTokensPerMonth: -1,
}, },
async () => { async () => {
const activeOrders = const activeOrders =