[PR #658] [MERGED] fix: update admin plugin UserWithRole type to reflect db schema #11665

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/658
Author: @gregtjack
Created: 11/25/2024
Status: Merged
Merged: 11/26/2024
Merged by: @Bekacru

Base: mainHead: fix/user-with-role-type


📝 Commits (1)

  • 0755440 admin plugin: fix UserWithRole type to reflect db schema

📊 Changes

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

View changed files

📝 packages/better-auth/src/plugins/admin/index.ts (+1 -1)

📄 Description

Updates banExpires field type in UserWithRole to Date to reflect the database type


🔄 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/658 **Author:** [@gregtjack](https://github.com/gregtjack) **Created:** 11/25/2024 **Status:** ✅ Merged **Merged:** 11/26/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/user-with-role-type` --- ### 📝 Commits (1) - [`0755440`](https://github.com/better-auth/better-auth/commit/0755440496a61e46e897eb473ecd511a297fb98e) admin plugin: fix UserWithRole type to reflect db schema ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/index.ts` (+1 -1) </details> ### 📄 Description Updates `banExpires` field type in `UserWithRole` to `Date` to reflect the database type --- <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:55:49 -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#11665