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( static setRoomWidget(
roomId: string, roomId: string,
widgetId: string, widgetId: string,
widgetType: WidgetType, widgetType?: WidgetType,
widgetUrl: string, widgetUrl?: string,
widgetName: string, widgetName?: string,
widgetData: object, widgetData?: object,
) { ) {
let content; let content;