diff --git a/back/config/util.ts b/back/config/util.ts index 222322ef..2ed60963 100644 --- a/back/config/util.ts +++ b/back/config/util.ts @@ -419,7 +419,12 @@ export function parseBody( return; } - parsed[key] = val; + try { + const jsonValue = JSON.parse(val); + parsed[key] = jsonValue; + } catch (error) { + parsed[key] = val; + } }); switch (contentType) {