mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-13 01:11:41 +01:00
Add await
This commit is contained in:
parent
e6c4ab3993
commit
1ee6e42e27
@ -44,7 +44,7 @@ const exportConversationalHistory = async (room: Room, format: string, options)
|
||||
const res = getTimelineConversation(room);
|
||||
switch (format) {
|
||||
case exportFormats.HTML:
|
||||
new HTMLExporter(res, room).export();
|
||||
await new HTMLExporter(res, room).export();
|
||||
break;
|
||||
case exportFormats.JSON:
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user