whatsapp-mcp / webhook/normalise / sanitiseForStorage
Function: sanitiseForStorage()
function sanitiseForStorage(input): unknown;Defined in: src/webhook/normalise.ts:269
Walk an arbitrary JSON-like value and return a deep-cloned copy in which
every value associated with a sensitive-looking key has been replaced with
the literal string <redacted>. Used before persisting raw to the DB.
Parameters
input
unknown
Returns
unknown