From 2ac2e1d9c7c0961efdf471fae6df64cea96d3edc Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Sun, 9 Oct 2022 15:58:20 +0200
Subject: [PATCH] fix: WotWizard export crashed on the updating.txt file

---
 app/modules/dump/wotwizard/wotwizard.dump.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/modules/dump/wotwizard/wotwizard.dump.ts b/app/modules/dump/wotwizard/wotwizard.dump.ts
index 35ce2cf4f..f6df40e43 100644
--- a/app/modules/dump/wotwizard/wotwizard.dump.ts
+++ b/app/modules/dump/wotwizard/wotwizard.dump.ts
@@ -53,6 +53,6 @@ export async function dumpWotWizard(server: Server) {
       Directory.GET_FILE_PATH(WotWizardConstants.DB_NAME_0),
       Directory.GET_FILE_PATH(WotWizardConstants.DB_NAME)
     );
-    fs.writeFileSync(updatingFile, Date.now());
+    fs.writeFileSync(updatingFile, String(Date.now()));
   }
 }
-- 
GitLab