wingbot-daktela
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
{ | ||
"name": "wingbot-daktela", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "Daktela connector for wingbot.ai", | ||
@@ -5,0 +5,0 @@ "main": "src/main.js", |
@@ -94,3 +94,3 @@ /* | ||
if (button) { | ||
const buf = Buffer.from(button.name); | ||
const buf = Buffer.from(button.name, 'base64'); | ||
const [action, data = {}] = JSON.parse(buf.toString('utf8')); | ||
@@ -106,3 +106,3 @@ req = Request.postBack( | ||
} else if (quickreply) { | ||
const buf = Buffer.from(quickreply.name); | ||
const buf = Buffer.from(quickreply.name, 'base64'); | ||
const [action, data = {}] = JSON.parse(buf.toString('utf8')); | ||
@@ -109,0 +109,0 @@ |
44469
11