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', }); }