From 18d7e168a729f1b55fe5bf4ec0fd2ac782f1f5f1 Mon Sep 17 00:00:00 2001 From: Gabriele Mendolia Date: Mon, 14 Oct 2024 18:20:30 +0200 Subject: [PATCH] [#IOPID-2343] fix: config wrong decoder type (#94) --- utils/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/config.ts b/utils/config.ts index 4701f9e..d418867 100644 --- a/utils/config.ts +++ b/utils/config.ts @@ -192,7 +192,7 @@ export const IDecodableConfig = t.intersection([ PDV_TOKENIZER_BASE_PATH: NonEmptyString, // TTL in seconds for PDV ID key retention (defaults to 30 days) - PDV_IDS_TTL: withDefault(IntegerFromString, 3600 * 24 * 30), + PDV_IDS_TTL: withDefault(t.string, "2592000").pipe(IntegerFromString), PN_SERVICE_ID: NonEmptyString,