Fix upgraderoom slashcommand

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-10-01 20:58:40 +01:00
parent c5fd92bfeb
commit 8f3cef84fd
1 changed files with 1 additions and 1 deletions

View File

@ -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);