Skip to content

Commit

Permalink
Update executeJobModal.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 authored Dec 16, 2023
1 parent cea6e0c commit b5881b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/app/jobs/executeJobModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ExecuteJobModal = ({ closeModal, devices, jobId }: ExecuteJobModalP
const promise = fetch(`/api/job/execute/${jobId}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json', // Set the Content-Type header to application/json
'Content-Type': 'application/json', // fastify is only able to parse the body to a project with this header
},
body: JSON.stringify({ deviceIdsOrOrigins: deviceIds }),
}).then(async (response) => {
Expand Down

0 comments on commit b5881b3

Please sign in to comment.