Skip to content

Commit

Permalink
config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lonsagisawa committed Nov 23, 2022
1 parent c4f83d4 commit d881b6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ const config: GatsbyConfig = {
`,
feeds: [
{
serialize: ({ query: { site, allContentfulPost }: any }) => {
serialize: ({
query: { site, allContentfulPost },
}): any => {
return allContentfulPost.edges.map((edge) => {
return Object.assign({}, edge.node, {
description:
Expand Down

0 comments on commit d881b6b

Please sign in to comment.