[PR #256] [MERGED] Fix Next headers import #3188

Closed
opened 2026-03-13 10:42:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/256
Author: @mmikhan
Created: 10/20/2024
Status: Merged
Merged: 10/20/2024
Merged by: @Bekacru

Base: mainHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 docs/content/docs/concepts/api.mdx (+2 -2)

📄 Description

The headers in the Next.js comes from next/headers instead of next/server. Here's the doc as a reference


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/256 **Author:** [@mmikhan](https://github.com/mmikhan) **Created:** 10/20/2024 **Status:** ✅ Merged **Merged:** 10/20/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`2489861`](https://github.com/better-auth/better-auth/commit/2489861b2f76438d84b94b2a01b55c4eb1acdfeb) Fix Next headers import ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/api.mdx` (+2 -2) </details> ### 📄 Description The `headers` in the Next.js comes from `next/headers` instead of `next/server`. Here's the [doc](https://nextjs.org/docs/app/api-reference/functions/headers#headers) as a reference --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 10:42:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3188