From 1ee6e42e27d94e45fa033e74ad055ee7a9e19128 Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Mon, 24 May 2021 19:19:10 +0530 Subject: [PATCH] Add await --- src/utils/exportUtils/exportUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/exportUtils/exportUtils.ts b/src/utils/exportUtils/exportUtils.ts index 7ace83f06c..5e1c4fffbb 100644 --- a/src/utils/exportUtils/exportUtils.ts +++ b/src/utils/exportUtils/exportUtils.ts @@ -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;