Skip to content

Commit 12ecc25

Browse files
author
Sergei Orlov
committed
✨ Add id to properties
1 parent c2d620d commit 12ecc25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gatsby-node.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ exports.sourceNodes = async (
2121
return {
2222
...acc,
2323
[key]: {
24+
id: page.properties[key].id,
2425
key,
2526
value: page.properties[key][page.properties[key].type],
2627
type: page.properties[key].type,

0 commit comments

Comments
 (0)