Skip to content

Commit 3555ec8

Browse files
committed
Fixed ref id for prod in sub data
1 parent a3620af commit 3555ec8

File tree

1 file changed

+6
-6
lines changed
  • final/nosql-products/src/resolvers

1 file changed

+6
-6
lines changed

final/nosql-products/src/resolvers/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const reviews = [
55
id: 1,
66
body: "This was a great find! would highly recommend.",
77
product: {
8-
id: "1"
8+
id: "33"
99
},
1010
user: {
1111
id: "1",
@@ -15,7 +15,7 @@ const reviews = [
1515
id: 2,
1616
body: "Awesome t-shirt. I really like the material",
1717
product: {
18-
id: "2",
18+
id: "161",
1919
},
2020
user: {
2121
id: "2",
@@ -25,20 +25,20 @@ const reviews = [
2525
id: 3,
2626
body: "Smooth! Look no further, this will answer all your questions!",
2727
product: {
28-
id: "3",
28+
id: "145",
2929
},
3030
user: {
31-
id: "1",
31+
id: "10",
3232
},
3333
},
3434
{
3535
id: 4,
3636
body: "So glad I found this product. Hidden gem!",
3737
product: {
38-
id: "4",
38+
id: "193",
3939
},
4040
user: {
41-
id: "1",
41+
id: "12",
4242
},
4343
},
4444
];

0 commit comments

Comments
 (0)