[PR #3395] [CLOSED] fix(auth): updateSession database hook types #21700

Closed
opened 2026-04-15 20:32:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3395
Author: @othompson2
Created: 7/15/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • e5ce2b1 change updateSession to pass Partial to hooks

📊 Changes

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

View changed files

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

📄 Description

TBD


Summary by cubic

Fixed the updateSession database hook to use Partial types, ensuring correct type handling when updating sessions.


🔄 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/3395 **Author:** [@othompson2](https://github.com/othompson2) **Created:** 7/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`e5ce2b1`](https://github.com/better-auth/better-auth/commit/e5ce2b150082c3a217188313ae2e8da6ca5aa41b) change updateSession to pass Partial<Session> to hooks ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/internal-adapter.ts` (+1 -1) </details> ### 📄 Description TBD <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed the updateSession database hook to use Partial<Session> types, ensuring correct type handling when updating sessions. <!-- End of auto-generated description by cubic. --> --- <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-15 20:32:52 -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#21700