[PR #302] [MERGED] fix: api error headers should have json content type #11463

Closed
opened 2026-04-13 07:47:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: fix/api-error-headers


📝 Commits (2)

  • 347fa16 fix: api error headers should have json content type
  • fd8c740 fix: upgrade better-call

📊 Changes

4 files changed (+64 additions, -26 deletions)

View changed files

📝 packages/better-auth/package.json (+1 -1)
packages/better-auth/src/api/api.test.ts (+38 -0)
📝 packages/better-auth/src/api/index.ts (+0 -2)
📝 pnpm-lock.yaml (+25 -23)

📄 Description

closes #299


🔄 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/302 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 10/23/2024 **Status:** ✅ Merged **Merged:** 10/23/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/api-error-headers` --- ### 📝 Commits (2) - [`347fa16`](https://github.com/better-auth/better-auth/commit/347fa160a7dad2e842edfb448b7a9dfbda3e9fb0) fix: api error headers should have json content type - [`fd8c740`](https://github.com/better-auth/better-auth/commit/fd8c7406584774799ba0fa857c440056b3bb040c) fix: upgrade better-call ### 📊 Changes **4 files changed** (+64 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/package.json` (+1 -1) ➕ `packages/better-auth/src/api/api.test.ts` (+38 -0) 📝 `packages/better-auth/src/api/index.ts` (+0 -2) 📝 `pnpm-lock.yaml` (+25 -23) </details> ### 📄 Description closes #299 --- <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-04-13 07:47:55 -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#11463