middleware fix wip
This commit is contained in:
@@ -78,7 +78,8 @@ export class SessionGateway {
|
||||
|
||||
// Parse and return session data
|
||||
const session = await response.json();
|
||||
console.log(`[SESSION] Session parsed successfully`);
|
||||
console.log(`[SESSION] Session parsed successfully:`, JSON.stringify(session, null, 2));
|
||||
console.log(`[SESSION] Session user role:`, session?.user?.role);
|
||||
return session as AuthSessionDTO;
|
||||
} catch (error) {
|
||||
console.log(`[SESSION] Error occurred:`, error);
|
||||
|
||||
Reference in New Issue
Block a user