We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a7b37 commit 3bd56ecCopy full SHA for 3bd56ec
apps/sim/lib/billing/organization.ts
@@ -290,12 +290,12 @@ export async function syncSubscriptionUsageLimits(subscription: SubscriptionData
290
.where(eq(member.organizationId, organizationId))
291
292
if (members.length > 0) {
293
- for (const member of members) {
+ for (const m of members) {
294
try {
295
- await syncUsageLimitsFromSubscription(member.userId)
+ await syncUsageLimitsFromSubscription(m.userId)
296
} catch (memberError) {
297
logger.error('Failed to sync usage limits for organization member', {
298
- userId: member.userId,
+ userId: m.userId,
299
organizationId,
300
subscriptionId: subscription.id,
301
error: memberError,
0 commit comments