Skip to content

Commit

Permalink
chore: content type for worker dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed May 19, 2024
1 parent 247b83c commit 3c3321d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/github/utils/workflow-dispatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export async function dispatchWorker(targetUrl: string, payload: Record<string,
const result = await fetch(targetUrl, {
body: JSON.stringify(payload),
method: "POST",
headers: {
"Content-Type": "application/json",
},
});
return result.json();
}
Expand Down

0 comments on commit 3c3321d

Please sign in to comment.