From 8f3cef84fdf3e67ce0bd3362919ac43b9027bc92 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 1 Oct 2019 20:58:40 +0100 Subject: [PATCH] Fix upgraderoom slashcommand Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/SlashCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SlashCommands.js b/src/SlashCommands.js index d9fe28cc6d..1a491da54f 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);