Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostrider-05 committed Oct 17, 2024
1 parent f072c47 commit 56ac22e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/nodejs-esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,10 @@ const createWebhook = false
if (createWebhook) {
const test = await client.webhooks.createWebhook({
campaignId: process.env.CAMPAIGN_ID,
// triggers: [
// PatreonWebhookTrigger.PostPublished,
// ],
// uri: process.env.WEBHOOK_URI,
triggers: [
PatreonWebhookTrigger.PostUpdated,
PatreonWebhookTrigger.PostPublished,
],
uri: 'https://ghostrider-05.com/webhook'
uri: process.env.WEBHOOK_URI,
})

console.log(JSON.stringify(test, null, 4))
Expand Down

0 comments on commit 56ac22e

Please sign in to comment.