feat: promotion coupons

This commit is contained in:
Nevo David 2024-03-16 14:59:23 +07:00
parent b1efa7d97b
commit 9e7426e4b7
2 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export class NotificationsRepository {
orderBy: {
createdAt: 'desc',
},
take: 20,
take: 10,
where: {
organizationId,
},

View File

@ -225,6 +225,7 @@ export class StripeService {
uniqueId,
},
},
allow_promotion_codes: true,
line_items: [
{
price: price,