Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
fix(plugins): drop the two-saves hint from the masked-secret refusal
Yudhi Armyndharis046ddfeaf044
diff --git a/src/modules/plugins/redact-config.ts b/src/modules/plugins/redact-config.tsindex 94d5adaa5..c0211d17d 100644--- a/src/modules/plugins/redact-config.ts+++ b/src/modules/plugins/redact-config.ts@@ -155,7 +155,7 @@ function restoreValue(const unbound = restoreValue(item, undefined, itemField);if (stableStringify(unbound) !== stableStringify(restoreValue(item, group[0], itemField))) {throw new BadRequestException(- 'This change to a list of masked secrets cannot be matched to the stored values; re-enter the remaining secret values, or make the change in two saves',+ 'This change to a list of masked secrets cannot be matched to the stored values; re-enter the remaining secret values',);}return unbound;