set secret blind index count to Number

This commit is contained in:
Maidul Islam
2024-01-27 12:40:36 +05:30
committed by Akhil Mohan
parent a2bd808196
commit 558315c24b
@@ -35,7 +35,7 @@ export const secretBlindIndexServiceFactory = ({
} }
const secretCount = await secretBlindIndexDAL.countOfSecretsWithNullSecretBlindIndex(projectId); const secretCount = await secretBlindIndexDAL.countOfSecretsWithNullSecretBlindIndex(projectId);
return secretCount; return Number(secretCount);
}; };
const getProjectSecrets = async ({ projectId, actorId, actor }: TGetProjectSecretsDTO) => { const getProjectSecrets = async ({ projectId, actorId, actor }: TGetProjectSecretsDTO) => {