Skip to content

Commit

Permalink
Enhance proposal event notification by adding JSON content type heade…
Browse files Browse the repository at this point in the history
…r in webhook request (#879)
  • Loading branch information
ashutoshpw authored Dec 17, 2024
1 parent 489c5a3 commit 5755b2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ export const sendProposalCreatedEvent = async (
const url = getEnv(EnvKey.REACT_APP_PROPOSAL_WEBHOOK_URL)
const response = await fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
network,
proposer: proposerAddress,
Expand Down

0 comments on commit 5755b2e

Please sign in to comment.