diff --git a/examples/multi-bot/app.js b/examples/multi-bot/app.js index 539116f..08bfcab 100644 --- a/examples/multi-bot/app.js +++ b/examples/multi-bot/app.js @@ -16,7 +16,8 @@ require('dotenv').load(); -const middleware = require('botkit-middleware-watson')({ +const WatsonMiddleware = require('botkit-middleware-watson').WatsonMiddleware; +const middleware = new WatsonMiddleware({ iam_apikey: process.env.ASSISTANT_IAM_APIKEY, workspace_id: process.env.WORKSPACE_ID, url: process.env.ASSISTANT_URL || 'https://gateway.watsonplatform.net/assistant/api', diff --git a/test/test.post_message.js b/test/test.post_message.js deleted file mode 100644 index cf2bc43..0000000 --- a/test/test.post_message.js +++ /dev/null @@ -1 +0,0 @@ - * limitations under the License.