mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Fix TS error
This commit is contained in:
@@ -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')]]);
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
@@ -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;
|
||||||
}) {
|
}) {
|
||||||
|
Reference in New Issue
Block a user