fix: Update webhook test endpoint to conform to standard webhooks (#1849)

This commit is contained in:
Zayd Krunz
2024-01-03 03:24:29 -07:00
committed by GitHub
parent f964319ddb
commit 7782196822

View File

@@ -7,7 +7,7 @@ export const testEndpoint = async (url: string) => {
const response = await fetch(url, {
method: "POST",
body: JSON.stringify({
formbricks: "test endpoint",
event: "testEndpoint",
}),
headers: {
"Content-Type": "application/json",