set secret blind index count to Number

This commit is contained in:
Maidul Islam
2024-01-24 13:19:56 -05:00
committed by Akhil Mohan
parent a2bd808196
commit 558315c24b

View File

@@ -35,7 +35,7 @@ export const secretBlindIndexServiceFactory = ({
}
const secretCount = await secretBlindIndexDAL.countOfSecretsWithNullSecretBlindIndex(projectId);
return secretCount;
return Number(secretCount);
};
const getProjectSecrets = async ({ projectId, actorId, actor }: TGetProjectSecretsDTO) => {