From 372eee7aef5952118962d26a2dc76f270ff39a9b Mon Sep 17 00:00:00 2001 From: sysops Date: Wed, 18 Mar 2026 01:13:38 +0100 Subject: [PATCH] fix: api.ts internes request-Typ auch auf qr_code korrigiert Co-Authored-By: Claude Sonnet 4.6 --- src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }> {