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

📚 Documentation: Adding await to cookies() and headers() to align with Next.js 15 async API changes in Server-side authentication with Next.js tutorial #1858

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Ahrary
Copy link

@Ahrary Ahrary commented Mar 16, 2025

What does this PR do?

Updates code examples in documentation to reflect Next.js 15 changes, specifically adding await to cookies() and headers() calls. Since these functions are now asynchronous in Next.js 15, the examples have been updated to provide updated and accurate guidance to developers.

Test Plan

  • Manually reviewed and updated all relevant .markdoc documentation files in this tutorial.

Related PRs and Issues

Have you read the Contributing Guidelines on issues?

Yes

@coolify-appwrite-org
Copy link

coolify-appwrite-org bot commented Mar 27, 2025

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2025-03-27 04:42:52 CET

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.

1 participant