mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 12:28:56 +00:00
remove duplicate field
This commit is contained in:
@@ -246,12 +246,7 @@ export const identityServiceFactory = ({
|
|||||||
);
|
);
|
||||||
ForbiddenError.from(permission).throwUnlessCan(OrgPermissionIdentityActions.Read, OrgPermissionSubjects.Identity);
|
ForbiddenError.from(permission).throwUnlessCan(OrgPermissionIdentityActions.Read, OrgPermissionSubjects.Identity);
|
||||||
|
|
||||||
const metadata = await identityMetadataDAL.find({
|
return identity;
|
||||||
identityId: id,
|
|
||||||
orgId: identity.orgId
|
|
||||||
});
|
|
||||||
|
|
||||||
return { ...identity, metadata };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const deleteIdentity = async ({
|
const deleteIdentity = async ({
|
||||||
|
|||||||
Reference in New Issue
Block a user