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;