From e5f9585378a0ebc1e233eded9cb3353eb58837b5 Mon Sep 17 00:00:00 2001 From: Artyom Savchenko Date: Wed, 30 Apr 2025 14:31:21 +0700 Subject: [PATCH] QFix: Fix gmail history migration (#8778) Signed-off-by: Artem Savchenko --- dev/tool/src/gmail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tool/src/gmail.ts b/dev/tool/src/gmail.ts index b544017920..68d4e4a6e1 100644 --- a/dev/tool/src/gmail.ts +++ b/dev/tool/src/gmail.ts @@ -184,7 +184,7 @@ async function migrateGmailHistory ( const history = db.collection('histories') const allHistories = await history.find({}).toArray() - const kvsClient = getKvsClient(kvsUrl, token) + const kvsClient = getKvsClient('gmail', kvsUrl, token) for (const history of allHistories) { try {