diff --git a/server/events/index.ts b/server/events/index.ts index a73c8f96..cdc6f345 100644 --- a/server/events/index.ts +++ b/server/events/index.ts @@ -43,7 +43,11 @@ const getSubscribersFromFile = async (): Promise => { async function sendEvent(event, to) { try { - await axios.post(to, event); + await axios.post(to, event, { + headers: { + 'x-snapshot-hub-verify': process.env.WEBHOOK_VERIFY + } + }); } catch (error) { const BASE_ERROR = `Failed to send event to ${to}`;