fix(medusa): add q param to listAndCount product types and product tags (#1531)

This commit is contained in:
Kasper Fabricius Kristensen
2022-05-18 11:31:02 +02:00
committed by GitHub
parent 847508af02
commit 46d9e6c44c
10 changed files with 264 additions and 20 deletions
@@ -69,6 +69,13 @@ module.exports = async (connection, data = {}) => {
await manager.save(type)
const type2 = await manager.create(ProductType, {
id: "test-type-new",
value: "test-type-new",
})
await manager.save(type2)
const image = manager.create(Image, {
id: "test-image",
url: "test-image.png",