good-idea / sane-shopify

MIT License
212 stars 15 forks source link

docs(server): update to "roll your own" code example #133

Closed nrgnrg closed 3 years ago

nrgnrg commented 3 years ago

closes: #132

I've updated the code example in the documentation so that the argument passed to the webhook handler is the object the handler is expecting rather than the id string.

I haven't updated the WebhookData typing but the shape of WebhookData which the webhook is expecting and the shape of the request body do have differences.

good-idea commented 3 years ago

Sorry I missed the notification for this PR ~ Thank you for putting it together!