Fix TS error

This commit is contained in:
ErickSkrauch
2025-02-14 16:29:28 +01:00
parent 20b00574d5
commit e3dc891ed2
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ describe('components/auth/actions', () => {
}); });
it('should set login', () => it('should set login', () =>
callThunk(login, { login: 'foo', password: '' }).then(() => { callThunk(login, { login: 'foo' }).then(() => {
expectDispatchCalls([[setLogin('foo')]]); expectDispatchCalls([[setLogin('foo')]]);
})); }));
}); });

View File

@@ -79,7 +79,7 @@ export function login({
rememberMe = false, rememberMe = false,
}: { }: {
login: string; login: string;
password: string; password?: string;
totp?: string; totp?: string;
rememberMe?: boolean; rememberMe?: boolean;
}) { }) {