Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix error in ContentQuery where clause example #1643

Merged
merged 2 commits into from Oct 31, 2022
Merged

docs: fix error in ContentQuery where clause example #1643

merged 2 commits into from Oct 31, 2022

Conversation

BrettOrmsby
Copy link
Contributor

@BrettOrmsby BrettOrmsby commented Oct 30, 2022

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Fixed an error in the Where clause for ContentQuery documentation. Before, ContentQuery passed data variable to the slot, which was not used and instead authors was used in its place. data is replaced with authors to fix this error.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify
Copy link

netlify bot commented Oct 30, 2022

βœ… Deploy Preview for nuxt-content ready!

Built without sensitive environment variables

Name Link
πŸ”¨ Latest commit f096a32
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/635f1285fcfcd700088240b9
😎 Deploy Preview https://deploy-preview-1643--nuxt-content.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@BrettOrmsby BrettOrmsby changed the title Fix error in where clause example Fix error in ContentQuery where clause example Oct 30, 2022
@BrettOrmsby BrettOrmsby changed the title Fix error in ContentQuery where clause example docs: fix error in ContentQuery where clause example Oct 30, 2022
@farnabaz farnabaz merged commit 954a224 into nuxt:main Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants