mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:24:51 +00:00
log session response
This commit is contained in:
@@ -9,10 +9,13 @@ import { Session, AuthRequest, Prompt, login } from "@zitadel/server";
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
async function loadSessions(ids: string[]): Promise<Session[]> {
|
||||
console.log("loadSessions", ids);
|
||||
const response = await listSessions(
|
||||
server,
|
||||
ids.filter((id: string | undefined) => !!id)
|
||||
);
|
||||
console.log("sessions:", response);
|
||||
|
||||
return response?.sessions ?? [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user