mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 23:52:05 -05:00
Fix UserWithRole banned type
Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { type AdminSchema } from "./schema";
|
||||
|
||||
export interface UserWithRole extends User {
|
||||
role?: string | undefined;
|
||||
banned?: (boolean | null) | undefined;
|
||||
banned: boolean | null;
|
||||
banReason?: (string | null) | undefined;
|
||||
banExpires?: (Date | null) | undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user