1
0
forked from baron/baron-sso

5e649c279f 기준 code-check 오류 수정

This commit is contained in:
2026-05-12 13:46:46 +09:00
parent 7259c62251
commit f810efd420
2 changed files with 72 additions and 15 deletions

View File

@@ -95,10 +95,14 @@ async function mockUserfrontApis(
pendingRef?: string;
};
pendingRef = body.pendingRef ?? null;
} catch (_) {
console.log(`[E2E-MOCK] /api/v1/auth/qr/approve POST body:`, body);
} catch (e) {
console.log(`[E2E-MOCK] /api/v1/auth/qr/approve POST body parse error:`, e);
pendingRef = null;
}
options.captureApprove?.(pendingRef);
} else {
console.log(`[E2E-MOCK] /api/v1/auth/qr/approve ${route.request().method()} request`);
}
await route.fulfill({
status: 200,