Skip to content

Commit ccd0248

Browse files
committed
fix lint errors
1 parent cc810d1 commit ccd0248

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

src/static/helpers/slasHelper.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,12 @@ const parseTokenResponseHttpOnly = async (
111111
* HttpOnly session cookie response.
112112
*/
113113
const getAccessTokenHttpOnly = async (
114-
slasClient: ShopperLogin<{shortCode: string; organizationId: string; clientId: string; siteId: string}>,
114+
slasClient: ShopperLogin<{
115+
shortCode: string;
116+
organizationId: string;
117+
clientId: string;
118+
siteId: string;
119+
}>,
115120
opts: Parameters<typeof slasClient.getAccessToken>[0]
116121
): Promise<TokenResponse> => {
117122
const response = await slasClient.getAccessToken(opts, true);
@@ -624,7 +629,10 @@ export async function loginRegisteredUserB2C(options: {
624629
},
625630
};
626631

627-
const response = await slasClientCopy.authenticateCustomer(authCustomerOpts, true);
632+
const response = await slasClientCopy.authenticateCustomer(
633+
authCustomerOpts,
634+
true
635+
);
628636
const redirectUrlString = response.headers?.get('location') || response.url;
629637
const redirectUrl = new URL(redirectUrlString);
630638
const searchParams = Object.fromEntries(redirectUrl.searchParams.entries());

0 commit comments

Comments
 (0)