Fix UserWithRole banned type

Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
This commit is contained in:
GautamBytes
2025-10-31 13:33:21 +00:00
parent e8babdce0a
commit b687fcd341

View File

@@ -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;
}