Update secret-v2-bridge-service.ts

This commit is contained in:
Daniel Hougaard
2025-03-06 20:36:45 +04:00
parent 77431b4719
commit 07b93c5cec

View File

@@ -964,7 +964,7 @@ export const secretV2BridgeServiceFactory = ({
const getSecretById = async ({ actorId, actor, actorOrgId, actorAuthMethod, secretId }: TGetASecretByIdDTO) => {
const secret = await secretDAL.findOneWithTags({
id: secretId
[`${TableName.SecretV2}.id` as "id"]: secretId
});
if (!secret) {