Skip to content

Fix Salesforce webhook event sources request verification#1944

Open
js07 wants to merge 1 commit intoPipedreamHQ:masterfrom
js07:fix-salesforce-webhook-sources
Open

Fix Salesforce webhook event sources request verification#1944
js07 wants to merge 1 commit intoPipedreamHQ:masterfrom
js07:fix-salesforce-webhook-sources

Conversation

@js07
Copy link
Collaborator

@js07 js07 commented Dec 10, 2021

In salesforce_rest_api/common-instant.js, the webhook token "x-webhook-token" was incorrectly destructured as undefined from event.headers following the codebase lint in commit e152f73.

This PR:

  • Reverts this change and sets webhookToken to event.headers["x-webhook-token"]
  • Bumps versions of Salesforce (Instant) sources

The webhook token "x-webhook-token" was incorrectly destructured as
`undefined` from `event.headers` following the codebase lint in commit
e152f73.
@js07 js07 added the bug Something isn't working label Dec 10, 2021
@vercel
Copy link

vercel bot commented Dec 10, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

pipedream-docs-redirect-do-not-edit – ./docs

🔍 Inspect: https://vercel.com/pipedreamers/pipedream-docs-redirect-do-not-edit/DPSXoYn46YvTSUQDvADrQtRyYtFX
✅ Preview: https://pipedream-docs-redirect-do-not-edit-git-for-912549-pipedreamers.vercel.app

pipedream-docs – ./docs

🔍 Inspect: https://vercel.com/pipedreamers/pipedream-docs/H3B3oA9twte92s5Zodx7S2YqJtuL
✅ Preview: https://pipedream-docs-git-fork-js07-fix-salesforce-4c3402-pipedreamers.vercel.app

@dylburger
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments