diff --git a/src/lib/api.ts b/src/lib/api.ts index 9bd59cf..2b494d5 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -824,7 +824,7 @@ export async function changeEmail( // ── TOTP / 2FA ──────────────────────────────────────────────────────────── export async function getTOTPSetup(): Promise<{ secret: string; otpauth_url: string; qr_code: string }> { - return request<{ secret: string; otpauth_url: string; qr_code_svg: string }>("/api/auth/totp/setup"); + return request<{ secret: string; otpauth_url: string; qr_code: string }>("/api/auth/totp/setup"); } export async function confirmTOTPSetup(code: string): Promise<{ ok: boolean }> {