Browse Source

update AllNodesOfVariant query

axolotle 4 năm trước cách đây
mục cha
commit
3cb2a50e1c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/api/queries/AllNodesOfVariant.gql

+ 2 - 2
src/api/queries/AllNodesOfVariant.gql

@@ -1,5 +1,5 @@
-query AllNodesOfVariant {
-  nodes: textsdepart {
+query AllNodesOfVariant ($variantId: Int!) {
+  nodes: allmapitemsof(familyId: $variantId) {
     id
   }
 }