fix: api.ts internes request-Typ auch auf qr_code korrigiert
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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 }> {
|
||||
|
||||
Reference in New Issue
Block a user