From b85b33bcc153e037094c6f9abb476a754d03b89e Mon Sep 17 00:00:00 2001 From: Darya Umrikhina Date: Mon, 29 Jul 2024 12:00:58 +0400 Subject: [PATCH] Shared:Api:Settings: change confirmKey type for validateTfaCode function --- packages/shared/api/settings/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/api/settings/index.ts b/packages/shared/api/settings/index.ts index 7eb9c50d3b..c134695261 100644 --- a/packages/shared/api/settings/index.ts +++ b/packages/shared/api/settings/index.ts @@ -717,7 +717,7 @@ export function getTfaSecretKeyAndQR(confirmKey = null) { return request(options); } -export function validateTfaCode(code, confirmKey = null) { +export function validateTfaCode(code, confirmKey: string | null = null) { const data = { code, };