From 4cfe564f3d2f2b447955a128d2b5610e2cd11cc6 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Tue, 2 Jul 2024 15:15:45 -0700 Subject: [PATCH] Fix lint issues --- .../identity-token-auth/identity-token-auth-service.ts | 5 ++++- .../components/IdentitySection/IdentitySection.tsx | 6 +----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/backend/src/services/identity-token-auth/identity-token-auth-service.ts b/backend/src/services/identity-token-auth/identity-token-auth-service.ts index 4b94447193..a03371bac7 100644 --- a/backend/src/services/identity-token-auth/identity-token-auth-service.ts +++ b/backend/src/services/identity-token-auth/identity-token-auth-service.ts @@ -25,7 +25,10 @@ import { } from "./identity-token-auth-types"; type TIdentityTokenAuthServiceFactoryDep = { - identityTokenAuthDAL: TIdentityTokenAuthDALFactory; + identityTokenAuthDAL: Pick< + TIdentityTokenAuthDALFactory, + "transaction" | "create" | "findOne" | "updateById" | "delete" + >; identityDAL: Pick; identityOrgMembershipDAL: Pick; identityAccessTokenDAL: Pick; diff --git a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentitySection.tsx b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentitySection.tsx index c2acc8b4b3..3068eaf927 100644 --- a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentitySection.tsx +++ b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentitySection.tsx @@ -124,11 +124,7 @@ export const IdentitySection = withPermission( handlePopUpOpen={handlePopUpOpen} handlePopUpToggle={handlePopUpToggle} /> - +