claudia-bot-builder-fork
Advanced tools
Comparing version 1.4.8 to 1.4.9
@@ -51,4 +51,10 @@ 'use strict'; | ||
// return `${request.env.slackHomePageUrl}?encodedBody=${encodeURIComponent(slack_response.body)}`; | ||
let parsed = JSON.parse(slack_response.body); | ||
let slackSumary = {}; // has team, user, and channel | ||
slackSumary.incoming_webhook = parsed.incoming_webhook; | ||
slackSumary.team_name = parsed.team_name; | ||
slackSumary.team_id = parsed.team_id; | ||
slackSumary.user_id = parsed.user_id; | ||
return new api.ApiResponse( | ||
`${request.env.slackHomePageUrl}?encodedBody=${encodeURIComponent(slack_response.body)}`, | ||
`${request.env.slackHomePageUrl}?encodedBody=${encodeURIComponent(slackSumary)}`, | ||
{'X-Version': 302, 'Content-Type': 'text/plain', 'X-slack-data': encodeURIComponent(slack_response.body)}); | ||
@@ -55,0 +61,0 @@ }); |
{ | ||
"name": "claudia-bot-builder-fork", | ||
"version": "1.4.8", | ||
"version": "1.4.9", | ||
"description": "Create chat-bots for various platforms and deploy to AWS Lambda quickly, slack app fixes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
168534
3444