From e5ce23ece99a8a5de03467054131bf59596e6a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Xalambr=C3=AD?= Date: Tue, 17 May 2022 16:56:29 -0500 Subject: [PATCH] Fix linter --- src/authenticator.ts | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/authenticator.ts b/src/authenticator.ts index f5d1406..c97f399 100644 --- a/src/authenticator.ts +++ b/src/authenticator.ts @@ -116,13 +116,17 @@ export class Authenticator { ): Promise { const strategyObj = this.strategies.get(strategy); if (!strategyObj) throw new Error(`Strategy ${strategy} not found.`); - return strategyObj.authenticate(new Request(request.url, request), this.sessionStorage, { - throwOnError: this.throwOnError, - ...options, - sessionKey: this.sessionKey, - sessionErrorKey: this.sessionErrorKey, - sessionStrategyKey: this.sessionStrategyKey, - }); + return strategyObj.authenticate( + new Request(request.url, request), + this.sessionStorage, + { + throwOnError: this.throwOnError, + ...options, + sessionKey: this.sessionKey, + sessionErrorKey: this.sessionErrorKey, + sessionStrategyKey: this.sessionStrategyKey, + } + ); } /**