diff --git a/src/app/api/admin/funds/route.ts b/src/app/api/admin/funds/route.ts index 59b3514..8d2fb39 100644 --- a/src/app/api/admin/funds/route.ts +++ b/src/app/api/admin/funds/route.ts @@ -66,7 +66,7 @@ export async function POST(req: NextRequest) { }) return tx.hedgeFund.create({ - data: { name, slug, userId: shadowUser.id }, + data: { name, slug, userId: shadowUser.id, sharesOutstanding: initialBalance }, include: { user: { select: { balance: true } }, managers: true }, }) })