fix(saleor-api): filtrar produtos por channel m5-digital

This commit is contained in:
Iris Florencio 2026-07-06 23:49:26 -03:00
parent 759850882c
commit e4be77f91b

View File

@ -53,7 +53,7 @@ def cmd_me(args):
def cmd_products(args):
r = query(
"{ products(first: %d) { totalCount edges { node { id name slug productType { name } } } } }"
"{ products(first: %d, channel: \"m5-digital\") { totalCount edges { node { id name slug } } } }"
% args.first
)
print(json.dumps(r.get("data", r), indent=2, ensure_ascii=False))