pr comment fix

This commit is contained in:
olivermrbl
2021-04-07 12:22:40 +02:00
parent 993766e5a1
commit f08511166a

View File

@@ -330,7 +330,7 @@ class DiscountService extends BaseService {
is_disabled: false,
code: data.code.toUpperCase(),
parent_discount_id: discount.id,
usage_limit: data.usage_limit,
usage_limit: discount.usage_limit,
}
const created = await discountRepo.create(toCreate)