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