Closed irq20xdfr closed 4 months ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch whatsapp-cloud-api@0.3.1 for the project I'm working on.
whatsapp-cloud-api@0.3.1
Here is the diff that solved my problem:
diff --git a/node_modules/whatsapp-cloud-api/dist/startExpressServer.js b/node_modules/whatsapp-cloud-api/dist/startExpressServer.js index 23b17a1..c7ae54d 100644 --- a/node_modules/whatsapp-cloud-api/dist/startExpressServer.js +++ b/node_modules/whatsapp-cloud-api/dist/startExpressServer.js @@ -71,6 +71,12 @@ const startExpressServer = (options) => new Promise((resolve) => { ...(rest.interactive.list_reply || rest.interactive.button_reply), }; break; + case 'order': + event = type; + data = { + order: rest.order, + }; + break; default: break; }
This issue body was partially generated by patch-package.
Hi @irq20xdfr π Thank you for sharing this! I'll work on adding the functionality to the main package.
Closing - please read more here.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
whatsapp-cloud-api@0.3.1
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.