mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:42:24 +00:00
chore: merge back origin/main
This commit is contained in:
@@ -4,7 +4,7 @@ import { getCodeFromSink } from "./sink";
|
||||
|
||||
export async function codeFromSink(page: Page, key: string) {
|
||||
// wait for send of the code
|
||||
await page.waitForTimeout(2000);
|
||||
await page.waitForTimeout(3000);
|
||||
const c = await getCodeFromSink(key);
|
||||
await code(page, c);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import axios from "axios";
|
||||
export async function getCodeFromSink(key: string): Promise<any> {
|
||||
try {
|
||||
const response = await axios.post(
|
||||
process.env.SINK_NOTIFICATION_URL,
|
||||
process.env.SINK_NOTIFICATION_URL!,
|
||||
{
|
||||
recipient: key,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user