From 70db8faa4f17306555c717d913c3f73693b898e7 Mon Sep 17 00:00:00 2001 From: phani-srikar Date: Wed, 13 Apr 2022 06:14:18 -0700 Subject: [PATCH] fix(npm-token-rotation): make slack webhook config optional in config spec --- .../npm-token-rotation/src/lambda/utils/config-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/credentials_rotators/npm-token-rotation/src/lambda/utils/config-schema.ts b/src/credentials_rotators/npm-token-rotation/src/lambda/utils/config-schema.ts index c1701f0..b8efc4b 100644 --- a/src/credentials_rotators/npm-token-rotation/src/lambda/utils/config-schema.ts +++ b/src/credentials_rotators/npm-token-rotation/src/lambda/utils/config-schema.ts @@ -89,7 +89,7 @@ export const schema = { type: "string", }, }, - required: ["arn", "publishConfig", "secretKey", "slackWebHookConfig"], + required: ["arn", "publishConfig", "secretKey"], }, TokenPublishCircleCIContextConfig: { type: "object",