Skip to content

Commit

Permalink
add content type to header information for put-request on userTasks
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasMGo committed Oct 17, 2023
1 parent 58555f5 commit a4f4512
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/management-system-v2/lib/helpers/processVersioning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ async function versionUserTasks(
path: { definitionId: processInfo.definitionId, userTaskFileName: versionFileName },
},
body: userTaskHTML,
headers: new Headers({
'Content-Type': 'text/plain',
}),
parseAs: 'text',
});
}
Expand Down

0 comments on commit a4f4512

Please sign in to comment.