Skip to content

Commit 3bd56ec

Browse files
committed
fix var name
1 parent 61a7b37 commit 3bd56ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/sim/lib/billing/organization.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,12 @@ export async function syncSubscriptionUsageLimits(subscription: SubscriptionData
290290
.where(eq(member.organizationId, organizationId))
291291

292292
if (members.length > 0) {
293-
for (const member of members) {
293+
for (const m of members) {
294294
try {
295-
await syncUsageLimitsFromSubscription(member.userId)
295+
await syncUsageLimitsFromSubscription(m.userId)
296296
} catch (memberError) {
297297
logger.error('Failed to sync usage limits for organization member', {
298-
userId: member.userId,
298+
userId: m.userId,
299299
organizationId,
300300
subscriptionId: subscription.id,
301301
error: memberError,

0 commit comments

Comments
 (0)