diff --git a/src/SlashCommands.js b/src/SlashCommands.js index d9fe28cc6dd..1a491da54f9 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -215,7 +215,7 @@ export const CommandMap = { button: _t("Upgrade"), }); - return success(finished.then((confirm) => { + return success(finished.then(([confirm]) => { if (!confirm) return; return cli.upgradeRoom(roomId, args);