fix(medusa): Normalize discount code before querying DB (#2224)
**What** Normalize discount code before querying DB Fixes CORE-567
This commit is contained in:
@@ -2,13 +2,13 @@ import {
|
||||
AllocationType,
|
||||
Discount,
|
||||
DiscountRule,
|
||||
DiscountRuleType,
|
||||
DiscountRuleType
|
||||
} from "@medusajs/medusa"
|
||||
import faker from "faker"
|
||||
import { Connection } from "typeorm"
|
||||
import {
|
||||
DiscountConditionFactoryData,
|
||||
simpleDiscountConditionFactory,
|
||||
simpleDiscountConditionFactory
|
||||
} from "./simple-discount-condition-factory"
|
||||
|
||||
export type DiscountRuleFactoryData = {
|
||||
|
||||
Reference in New Issue
Block a user