AJV set strict to false

This commit is contained in:
Maidul Islam
2023-11-01 22:21:31 +05:30
committed by Akhil Mohan
parent 8b522a3fb5
commit c1ea441e3a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ const secretRotationRemoveFn = async (func: TProviderFunction, variables: ISecre
secretRotationQueue.process(async (job: Job) => {
const rotationStratDocId = job.data.rotationDocId;
const secretRotation = await SecretRotation.findById(rotationStratDocId)
.select("+encryptedData +encryptedDataTag +encryptedDataIV")
.select("+encryptedData +encryptedDataTag +encryptedDataIV +keyEncoding")
.populate<{
outputs: [
{
+1 -1
View File
@@ -12,7 +12,7 @@ import {
} from "../../variables";
import { encryptSymmetric128BitHexKeyUTF8 } from "../../utils/crypto";
const ajv = new Ajv();
const ajv = new Ajv({ strict: false });
export const getProviderTemplate = async ({ workspaceId }: TGetProviderTemplates) => {
return {