Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

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.ts
index 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;