mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 05:03:06 +03:00
Add await
This commit is contained in:
parent
e6c4ab3993
commit
1ee6e42e27
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ const exportConversationalHistory = async (room: Room, format: string, options)
|
||||||
const res = getTimelineConversation(room);
|
const res = getTimelineConversation(room);
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case exportFormats.HTML:
|
case exportFormats.HTML:
|
||||||
new HTMLExporter(res, room).export();
|
await new HTMLExporter(res, room).export();
|
||||||
break;
|
break;
|
||||||
case exportFormats.JSON:
|
case exportFormats.JSON:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue