Skip to content

Commit 02104e9

Browse files
Merge pull request #387 from bakaphp/chore/add-categories
chore: add categories
2 parents c7bdc48 + 43b40b7 commit 02104e9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.28.2",
2+
"version": "0.28.3",
33
"license": "MIT",
44
"main": "dist/index.js",
55
"typings": "dist/index.d.ts",

src/queries/channel-products.query.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ export const GET_CHANNEL_PRODUCTS = gql`
1919
name
2020
slug
2121
description
22+
categories {
23+
id
24+
name
25+
slug
26+
}
2227
variants {
2328
id
2429
name
@@ -47,4 +52,4 @@ export const GET_CHANNEL_PRODUCTS = gql`
4752
}
4853
}
4954
}
50-
`;
55+
`;

0 commit comments

Comments
 (0)