diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts index a5675a2..4255d8d 100644 --- a/src/auth/auth.service.ts +++ b/src/auth/auth.service.ts @@ -30,7 +30,7 @@ export class AuthService { let balance = 1000; if (promoCode && promoCode.value) { - balance = promoCode.value; + balance += promoCode.value; } try { const user = await this.prisma.user.create({