Feat: Add groups to list customer (#1113)
* add controllers directory and loaders * update integration tests * start groups * move controllers to pure functions * group filtering for customers * print errors * remove verbose flag * controller refactor * update imports * Feat/list customers by customer group (#1114) * move controllers to pure functions * add customer group test * add api for list customer group customers * remove unused imports * controller refactor * update imports * Update packages/medusa/src/api/routes/admin/customer-groups/get-customer-group-customers.ts Co-authored-by: Sebastian Rindom <skrindom@gmail.com> Co-authored-by: Sebastian Rindom <skrindom@gmail.com> * fix: dedupe Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
This commit is contained in:
1 parent
8e7de6dd36
commit
dacc9c6c4b
10 files changed
+153
-6
No files matched your search
@@ -216,7 +216,7 @@ describe("/admin/tax-rates", () => {
|
||||
)
|
||||
})
|
||||
|
||||
test.only("fails with 404 on unknown rate", async () => {
|
||||
test("fails with 404 on unknown rate", async () => {
|
||||
await adminSeeder(dbConnection)
|
||||
const { tax_rates } = await createTaxRates(dbConnection, 1, 1, 200)
|
||||
const [rate] = tax_rates
|
||||
|
||||
Reference in new issue
Block a user