diff --git a/packages/generator-botkit/generators/app/templates/bot.js b/packages/generator-botkit/generators/app/templates/bot.js index efd18f2a6..426ce7843 100644 --- a/packages/generator-botkit/generators/app/templates/bot.js +++ b/packages/generator-botkit/generators/app/templates/bot.js @@ -107,7 +107,7 @@ const controller = new Botkit({ if (process.env.cms_uri) { controller.usePlugin(new BotkitCMSHelper({ - cms_uri: process.env.cms_uri, + uri: process.env.cms_uri, token: process.env.cms_token, })); } @@ -195,4 +195,4 @@ async function getBotUserByTeam(teamId) { console.error('Team not found in userCache: ', teamId); } } -<% } %> \ No newline at end of file +<% } %>