mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 06:52:24 +00:00
date type in stub
This commit is contained in:
@@ -20,6 +20,7 @@ export async function POST(request: NextRequest) {
|
||||
authRequestId
|
||||
)
|
||||
.then((session) => {
|
||||
console.log(session);
|
||||
if (session.factors?.user?.id) {
|
||||
return listAuthenticationMethodTypes(session.factors?.user?.id)
|
||||
.then((methods) => {
|
||||
|
||||
@@ -6,8 +6,7 @@ describe("login", () => {
|
||||
data: {
|
||||
details: {
|
||||
sequence: 859,
|
||||
changeDate:
|
||||
"Wed Feb 21 2018 12:16:50 GMT+0100 (Central European Standard Time)",
|
||||
changeDate: new Date("2024-04-04T09:40:55.577Z"),
|
||||
resourceOwner: "220516472055706145",
|
||||
},
|
||||
sessionId: "221394658884845598",
|
||||
@@ -21,8 +20,7 @@ describe("login", () => {
|
||||
data: {
|
||||
session: {
|
||||
id: "221394658884845598",
|
||||
creationDate:
|
||||
"Wed Feb 21 2018 12:16:50 GMT+0100 (Central European Standard Time)",
|
||||
creationDate: new Date("2024-04-04T09:40:55.577Z"),
|
||||
changeDate: "1519211810999",
|
||||
sequence: 859,
|
||||
factors: {
|
||||
|
||||
Reference in New Issue
Block a user