Skip to content

Commit

Permalink
chore(examples): multi-bot example constructor updated
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed May 5, 2019
1 parent 38ccc33 commit 543c82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/multi-bot/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion test/test.post_message.js

This file was deleted.

0 comments on commit 543c82e

Please sign in to comment.