@ebenos/messenger-adapter
Advanced tools
Comparing version 3.3.2 to 3.3.3
@@ -48,6 +48,2 @@ "use strict"; | ||
if (e.postback) { | ||
if (e.postback.payload) { | ||
routerExists(routers.PostbackRouter).stringPayloadHandler(e, e.postback.payload, user); | ||
return; | ||
} | ||
if (e.postback.referral) { | ||
@@ -59,5 +55,8 @@ const referral = e.postback.referral; | ||
} | ||
// TODO: Referral handler | ||
throw new Error('Not implemented'); | ||
} | ||
if (e.postback.payload) { | ||
routerExists(routers.PostbackRouter).stringPayloadHandler(e, e.postback.payload, user); | ||
return; | ||
} | ||
throw new Error('Not implemented'); | ||
@@ -64,0 +63,0 @@ } |
{ | ||
"name": "@ebenos/messenger-adapter", | ||
"version": "3.3.2", | ||
"version": "3.3.3", | ||
"description": "Facebook SendAPI Library for the Ebony framework.", | ||
@@ -48,3 +48,3 @@ "main": "./build/index.js", | ||
], | ||
"gitHead": "d23e0ec07a4e141ddc2d3b094995f857312e3ab4" | ||
"gitHead": "5b5284a4aee7e52a94d7086572a9ca1358d2782d" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53786
764