apps/meteor/client/meteorOverrides/totpOnCall.ts
Function withSyncTOTP
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const withSyncTOTP = (call: (name: string, ...args: any[]) => any) => {
const callWithTotp =
(methodName: string, args: unknown[], callback: LoginCallback) =>
(twoFactorCode: string, twoFactorMethod: string): unknown =>
call(