fix(medusa): Normalize discount code before querying DB (#2224)

**What**
Normalize discount code before querying DB

Fixes CORE-567
This commit is contained in:
Oliver Windall Juhl
2022-09-16 14:01:36 +02:00
committed by GitHub
parent f7177c9033
commit 3f73170288
7 changed files with 143 additions and 20 deletions

View File

@@ -420,7 +420,7 @@ describe("/admin/draft-orders", () => {
code: "TEST",
}),
expect.objectContaining({
code: "free-shipping",
code: "FREE-SHIPPING",
}),
])
)