Skip to content

Commit

Permalink
Merge pull request #266 from dgattey/dgattey/data
Browse files Browse the repository at this point in the history
chore: update naming of field after data manipulation
  • Loading branch information
Dylan Gattey committed Jan 14, 2022
2 parents bf124ef + ae06b70 commit b404267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/contentful/fetchSiteFooter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SiteFooter = Array<Link>;
*/
const QUERY = gql`
query SiteFooter {
sectionCollection(limit: 1, where: { title: "Footer" }) {
sectionCollection(limit: 1, where: { slug: "footer" }) {
items {
blocksCollection(limit: 100) {
items {
Expand Down
2 changes: 1 addition & 1 deletion src/api/contentful/fetchSiteHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface SiteHeader {
*/
const QUERY = gql`
query SiteHeader {
sectionCollection(limit: 1, where: { title: "Header" }) {
sectionCollection(limit: 1, where: { slug: "header" }) {
items {
blocksCollection(limit: 100) {
items {
Expand Down

1 comment on commit b404267

@vercel
Copy link

@vercel vercel bot commented on b404267 Jan 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.