We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51cc9a3 commit 0014218Copy full SHA for 0014218
1 file changed
apps/sim/app/api/organizations/[id]/members/route.ts
@@ -152,8 +152,9 @@ export const GET = withRouteHandler(
152
153
const membersWithUsage = base.map((row) => ({
154
...row,
155
- currentPeriodCost:
156
- Number(row.currentPeriodCost ?? 0) + (usageByUser.get(row.userId) ?? 0),
+ currentPeriodCost: (
+ Number(row.currentPeriodCost ?? 0) + (usageByUser.get(row.userId) ?? 0)
157
+ ).toString(),
158
billingPeriodStart,
159
billingPeriodEnd,
160
}))
0 commit comments