fix WidgetUtils setRoomWidget signature

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-10-19 21:02:48 +01:00
parent 5ee0262da2
commit 4dd8b8d8c6

View File

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