0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(test): fix integration test type

fix integration test type
This commit is contained in:
simeng-li 2024-06-07 17:43:11 +08:00
parent bf71698250
commit 358d191570
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075

View file

@ -2,7 +2,7 @@
* @fileoverview This file contains the interaction flow helper functions that use the experience APIs. * @fileoverview This file contains the interaction flow helper functions that use the experience APIs.
*/ */
import { VerificationType, type PasswordIdentifier } from '@logto/schemas'; import { VerificationType, type DirectIdentifier } from '@logto/schemas';
import { signIn } from '../api/experience-api.js'; import { signIn } from '../api/experience-api.js';
@ -12,7 +12,7 @@ export const signInWithPassword = async ({
identifier, identifier,
password, password,
}: { }: {
identifier: PasswordIdentifier; identifier: DirectIdentifier;
password: string; password: string;
}) => { }) => {
const client = await initClient(); const client = await initClient();