From 4dd8b8d8c6ab7172dc91dfc6ffe556159da3ea17 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 19 Oct 2020 21:02:48 +0100 Subject: [PATCH] fix WidgetUtils setRoomWidget signature Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/utils/WidgetUtils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/WidgetUtils.ts b/src/utils/WidgetUtils.ts index 1e97d95b92..576d0e7ca4 100644 --- a/src/utils/WidgetUtils.ts +++ b/src/utils/WidgetUtils.ts @@ -278,10 +278,10 @@ export default class WidgetUtils { static setRoomWidget( roomId: string, widgetId: string, - widgetType: WidgetType, - widgetUrl: string, - widgetName: string, - widgetData: object, + widgetType?: WidgetType, + widgetUrl?: string, + widgetName?: string, + widgetData?: object, ) { let content;