[PR #994] [MERGED] fix: secondary storage should use the value after hooks have been evaluated #3577

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

📋 Pull Request Information

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

Base: mainHead: fix/secondary-storage


📝 Commits (2)

  • 2ce7191 fix: secondary storage on update should use the value after hooks have been evaluated
  • 1f11a65 chore: fix test

📊 Changes

2 files changed (+43 additions, -5 deletions)

View changed files

📝 packages/better-auth/src/db/internal-adapter.test.ts (+39 -1)
📝 packages/better-auth/src/db/internal-adapter.ts (+4 -4)

📄 Description

coses #768


🔄 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/994 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 12/23/2024 **Status:** ✅ Merged **Merged:** 12/23/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/secondary-storage` --- ### 📝 Commits (2) - [`2ce7191`](https://github.com/better-auth/better-auth/commit/2ce7191d6d652485a63b7af7a37ff6623810cb59) fix: secondary storage on update should use the value after hooks have been evaluated - [`1f11a65`](https://github.com/better-auth/better-auth/commit/1f11a6521bf1e3343598ffe2a3ad120eb82d782c) chore: fix test ### 📊 Changes **2 files changed** (+43 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/internal-adapter.test.ts` (+39 -1) 📝 `packages/better-auth/src/db/internal-adapter.ts` (+4 -4) </details> ### 📄 Description coses #768 --- <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:59:12 -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#3577