Skip to content

Commit

Permalink
Update awsCognito.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Huachao authored Jul 12, 2023
1 parent a4951e2 commit ff19e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/auth/awsCognito.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function awsCognito(
authorization: string
): Promise<got.BeforeRequestHook<got.GotBodyOptions<null>>> {
const [, username, password, region, userPoolId, clientId] = authorization.split(/\s+/);

const { accessToken } = await login(
username,
password,
Expand Down

0 comments on commit ff19e6a

Please sign in to comment.