Skip to content

Commit 1b47779

Browse files
Merge pull request #52 from SundeepChand/bugs/mystories
Added GrapqhQL queries to fetch attachments in MyStories.js and Profile.js
2 parents f15381e + 6355b2b commit 1b47779

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/pages/MyStories.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ const MyStories = () => {
8383
product {
8484
Name
8585
}
86+
Attachment {
87+
id
88+
url
89+
}
8690
author {
8791
id
8892
username
@@ -118,6 +122,10 @@ const MyStories = () => {
118122
product {
119123
Name
120124
}
125+
Attachment {
126+
id
127+
url
128+
}
121129
author {
122130
id
123131
username

src/pages/Profile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ const Profile = (props) => {
9292
product {
9393
Name
9494
}
95+
Attachment {
96+
id
97+
url
98+
}
9599
author {
96100
id
97101
username

0 commit comments

Comments
 (0)