From a4f451252f5fb765d5150063d224e5d91910df90 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 17 Oct 2023 18:03:50 +0200 Subject: [PATCH] add content type to header information for put-request on userTasks --- src/management-system-v2/lib/helpers/processVersioning.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/management-system-v2/lib/helpers/processVersioning.ts b/src/management-system-v2/lib/helpers/processVersioning.ts index 55fd05ef0..0e5de23d2 100644 --- a/src/management-system-v2/lib/helpers/processVersioning.ts +++ b/src/management-system-v2/lib/helpers/processVersioning.ts @@ -168,6 +168,9 @@ async function versionUserTasks( path: { definitionId: processInfo.definitionId, userTaskFileName: versionFileName }, }, body: userTaskHTML, + headers: new Headers({ + 'Content-Type': 'text/plain', + }), parseAs: 'text', }); }