From d6827017d4c7138b3a613d17f0469012a303bac1 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 12 Mar 2024 01:12:16 -0400 Subject: [PATCH] Fixes lint errors Signed-off-by: Darshit Chanpura --- common/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/index.ts b/common/index.ts index c7d5288cb..a758ca00e 100644 --- a/common/index.ts +++ b/common/index.ts @@ -13,7 +13,7 @@ * permissions and limitations under the License. */ -import { randomString } from "@hapi/cryptiles"; +import { randomString } from '@hapi/cryptiles'; export const PLUGIN_ID = 'opensearchDashboardsSecurity'; export const PLUGIN_NAME = 'security-dashboards-plugin'; @@ -39,7 +39,7 @@ export const ANONYMOUS_AUTH_LOGIN = '/auth/anonymous'; const ANONYMOUS_AUTH_USER: string = 'opendistro_security_anonymous'; const RANDOM_PASS: string = randomString(12); const ANONYMOUS_USER_PASS: string = `${ANONYMOUS_AUTH_USER}:${RANDOM_PASS}`; -export const ANONYMOUS_AUTH_HEADER = `Basic ${Buffer.from(ANONYMOUS_USER_PASS).toString('base64')}` +export const ANONYMOUS_AUTH_HEADER = `Basic ${Buffer.from(ANONYMOUS_USER_PASS).toString('base64')}`; export const OPENID_AUTH_LOGOUT = '/auth/openid/logout'; export const SAML_AUTH_LOGOUT = '/auth/saml/logout';