Fix upgraderoom slashcommand

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-10-01 20:58:40 +01:00
parent c5fd92bfeb
commit 8f3cef84fd

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