Skip to content

Commit 6bd2e1d

Browse files
ci: apply automated fixes
1 parent 557ff88 commit 6bd2e1d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/api/src/router/stripe/webhook.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ export const webhookRouter = createTRPCRouter({
7474
}
7575
}
7676

77-
const finalLimits = detectedPlan
78-
? getLimits(detectedPlan.plan)
79-
: ws.limits;
77+
const finalLimits = detectedPlan ? getLimits(detectedPlan.plan) : ws.limits;
8078

8179
await opts.ctx.db
8280
.update(workspace)

0 commit comments

Comments
 (0)