1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Add await

This commit is contained in:
Jaiwanth
2021-05-24 19:19:10 +05:30
parent e6c4ab3993
commit 1ee6e42e27

View File

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