mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 17:30:51 +00:00
QFix: Fix gmail history migration (#8778)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
parent
09e01196b3
commit
e5f9585378
@ -184,7 +184,7 @@ async function migrateGmailHistory (
|
||||
const history = db.collection<History>('histories')
|
||||
const allHistories = await history.find({}).toArray()
|
||||
|
||||
const kvsClient = getKvsClient(kvsUrl, token)
|
||||
const kvsClient = getKvsClient('gmail', kvsUrl, token)
|
||||
|
||||
for (const history of allHistories) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user