260322:1648 Correct Coresspondence / Doing RFA / Correct CI
This commit is contained in:
Vendored
+4
-4
@@ -1,14 +1,14 @@
|
||||
// File: types/next-auth.d.ts
|
||||
import NextAuth, { DefaultSession } from "next-auth"
|
||||
import _NextAuth, { DefaultSession } from 'next-auth';
|
||||
|
||||
declare module "next-auth" {
|
||||
declare module 'next-auth' {
|
||||
interface Session {
|
||||
user: {
|
||||
id: string;
|
||||
username: string; // ✅ Added
|
||||
role: string;
|
||||
organizationId?: number;
|
||||
} & DefaultSession["user"]
|
||||
} & DefaultSession['user'];
|
||||
accessToken?: string;
|
||||
refreshToken?: string;
|
||||
error?: string;
|
||||
@@ -24,7 +24,7 @@ declare module "next-auth" {
|
||||
}
|
||||
}
|
||||
|
||||
declare module "next-auth/jwt" {
|
||||
declare module 'next-auth/jwt' {
|
||||
interface JWT {
|
||||
id: string;
|
||||
username: string; // ✅ Added
|
||||
|
||||
Reference in New Issue
Block a user