Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Change cms_uri to uri #1675

Merged
merged 4 commits into from
Jul 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/generator-botkit/generators/app/templates/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}));
}
Expand Down Expand Up @@ -195,4 +195,4 @@ async function getBotUserByTeam(teamId) {
console.error('Team not found in userCache: ', teamId);
}
}
<% } %>
<% } %>