@tiledesk/tiledesk-tybot-connector 0.2.130-rc1 → 0.2.130-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.js
CHANGED
|
@@ -569,6 +569,7 @@ router.post('/block/:project_id/:bot_id/:block_id', async (req, res) => {
|
|
|
569
569
|
const bot_id = req.params['bot_id'];
|
|
570
570
|
const block_id = req.params['block_id'];
|
|
571
571
|
const body = req.body;
|
|
572
|
+
console.log("/block/ .body:", JSON.stringify(body));
|
|
572
573
|
// console.log('/block/:project_id/:bot_id/:block_id:', project_id, "/", bot_id, "/", block_id);
|
|
573
574
|
// console.log('/block/:project_id/:bot_id/:block_id.body', body);
|
|
574
575
|
|
|
@@ -591,7 +592,7 @@ router.post('/block/:project_id/:bot_id/:block_id', async (req, res) => {
|
|
|
591
592
|
},
|
|
592
593
|
"token": "NO-TOKEN"
|
|
593
594
|
}
|
|
594
|
-
console.log("sendMessageToBot()...");
|
|
595
|
+
console.log("sendMessageToBot()...", JSON.stringify(request));
|
|
595
596
|
sendMessageToBot(process.env.TYBOT_ENDPOINT, request, bot_id, async () => {
|
|
596
597
|
// console.log("Async webhook message sent:\n", request);
|
|
597
598
|
res.status(200).send({"success":true});
|