Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

req.body is not a function + wrong mapping #42

Open
eyaljoyous opened this issue Aug 10, 2022 · 0 comments
Open

req.body is not a function + wrong mapping #42

eyaljoyous opened this issue Aug 10, 2022 · 0 comments

Comments

@eyaljoyous
Copy link

  1. TypeError: req.body is not a function
    ext-track-labels-trackingWebhook
    at /workspace/lib/index.js:27:60

in the webhook function need to change req.body() to req.body (notice #2 req.body.data)

  1. the mapping to req.body should be changed to req.body.data to match the schema mapping
    so change req.body() to req.body.data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants