Skip to content

Commit

Permalink
waas: fix a minor typing inaccuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed Jul 23, 2024
1 parent bdd4339 commit 5514219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/waas/src/email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
UserLambdaValidationException
} from '@aws-sdk/client-cognito-identity-provider'

import { Identity } from './auth'
import { IdTokenIdentity } from './auth'

export class EmailAuth {
private cognitoMemo: CognitoIdentityProviderClient
Expand Down Expand Up @@ -91,7 +91,7 @@ export class EmailAuth {
email: string
answer: string
sessionHash: string
}): Promise<Identity> {
}): Promise<IdTokenIdentity> {
email = email.toLowerCase().trim()

const res = await this.cognito().send(
Expand Down

0 comments on commit 5514219

Please sign in to comment.