Skip to content

Commit 0d9681c

Browse files
authored
chore: fix seed usage operation id (#7182)
1 parent 6424c0a commit 0d9681c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scripts/seed-usage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function start(args: { instance: HiveClient; schema: GraphQLSchema; queries: Doc
109109
variableValues: {},
110110
contextValue: {},
111111
},
112-
randNumber > 95
112+
randNumber <= 95
113113
? {
114114
errors: undefined,
115115
}

scripts/seed-usage/federated/all-products.graphql

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
query AllProducts {
22
allProducts {
3-
id
3+
upc
44
sku
55
name
6-
variation {
7-
id
6+
variations {
7+
upc
8+
sku
89
name
910
}
1011
}

0 commit comments

Comments
 (0)