chore: merge back origin/main

This commit is contained in:
Stefan Benz
2024-11-20 16:03:20 +01:00
15 changed files with 269 additions and 203 deletions

View File

@@ -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);
}

View File

@@ -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,
},